Detach MCP server
detach_mcp_serverDetach an MCP server from the agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"server_id": "<server_id>"
},
"name": "detach_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). | |
| server_id | Yes | Id of the attached MCP server. |