AssistantServiceStopMCPAgent Method
Stop an MCP Agent by ID and all its associated servers.
Namespace: SuperBuilderWinService.ServicesAssembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+2093811f3bac5da092b5ce9c8172233582eee4d5
public override Task<StopMCPAgentResponse> StopMCPAgent(
StopMCPAgentRequest request,
ServerCallContext context
)
Public Overrides Function StopMCPAgent (
request As StopMCPAgentRequest,
context As ServerCallContext
) As Task(Of StopMCPAgentResponse)
public:
virtual Task<StopMCPAgentResponse^>^ StopMCPAgent(
StopMCPAgentRequest^ request,
ServerCallContext^ context
) override
abstract StopMCPAgent :
request : StopMCPAgentRequest *
context : ServerCallContext -> Task<StopMCPAgentResponse>
override StopMCPAgent :
request : StopMCPAgentRequest *
context : ServerCallContext -> Task<StopMCPAgentResponse>
- request StopMCPAgentRequest
-
Example:
{
"id": 1
}
- context ServerCallContext
- The gRPC call context.
TaskStopMCPAgentResponse
Example:
{
"success": true,
"message": "MCP Agent and associated servers stopped successfully."
}