replace_guardrail_mcp_servers
Replaces the complete MCP-server mapping set for a guardrail, removing any servers omitted from the new map or clearing all mappings with an empty object. Review current mappings first.
Instructions
Replace the complete MCP-server mapping set for one guardrail. Requires a guardrail with target mcp_tools. Any existing server omitted from mcp_servers is removed, and an empty object clears all mappings. Read list_guardrail_mcp_servers first. Repeating the same complete map is safe.
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": {
"guardrail_id": "<guardrail_id>",
"mcp_servers": "<mcp_servers>"
},
"name": "replace_guardrail_mcp_servers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcp_servers | Yes | Complete MCP-server mapping set keyed by server UUID; an empty object clears every mapping | |
| guardrail_id | Yes | Guardrail UUID or slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |