Class GatewayOpsTools
Gateway lifecycle and configuration tools — status, config, restart controls. Operates against the local gateway process or a configured remote endpoint.
[ToolPlugin("gateway", RequiresInjection = true)]
public sealed class GatewayOpsTools
- Inheritance
-
GatewayOpsTools
- Inherited Members
Constructors
GatewayOpsTools(string?)
public GatewayOpsTools(string? gatewayEndpoint = null)
Parameters
gatewayEndpointstringOptional gateway base URL (e.g. http://localhost:18789). If null, tools report based on process-level checks.
Methods
GetConfigAsync()
[KernelFunction("gateway_config")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public Task<string> GetConfigAsync()
Returns
GetStatusAsync()
[KernelFunction("gateway_status")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public Task<string> GetStatusAsync()
Returns
ListGatewayAgentsAsync()
[KernelFunction("gateway_agents")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public Task<string> ListGatewayAgentsAsync()
Returns
ListGatewayChannelsAsync()
[KernelFunction("gateway_channels")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public Task<string> ListGatewayChannelsAsync()
Returns
ListGatewaySessionsAsync()
[KernelFunction("gateway_sessions")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public Task<string> ListGatewaySessionsAsync()