Set agent tool permission
set_agent_tool_permissionSet (create or update) a tool permission rule for an agent. Use tool_name '*' for the agent's default rule.
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 | ||
| brain_id | No | ||
| tool_name | Yes | ||
| permission | Yes |