Set agent tool permission
set_agent_tool_permissionSet a per-tool rule for an agent: allow / disallow / approval. tool_name '*' is the agent's default. Optionally scope to one category ("brain").
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>",
"tool_name": "<tool_name>",
"permission": "<permission>"
},
"name": "set_agent_tool_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| tool_name | Yes | MCP tool name, or '*' for the agent's default rule. | |
| permission | Yes | ||
| category_id | No | ||
| category_slug | No |