sn_mcp_remove_tool
Detach a tool from an MCP Server Console server and optionally delete its definition and inputs when unused, with safeguards for shared and out-of-box definitions; requires write access.
Instructions
Detach a tool from an MCP Server Console server. With delete_definition=true the definition and its inputs are also deleted, but only when no other server uses it and it is not an out-of-box (scoped) definition. REQUIRES WRITE_ENABLED=true.
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": {
"server": "<server>",
"tool": "<tool>"
},
"name": "sn_mcp_remove_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Tool definition name or sys_id | |
| server | Yes | Server name, label or sys_id | |
| delete_definition | No | Also delete the tool definition and its inputs (default false) |