agent_access_set
Replace an org ceiling or one agent's access rules. org:admin signed in as themselves. An agent cannot call this.
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": {
"scope": "<scope>",
"rules": "<rules>"
},
"name": "agent_access_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | org only: enforce (default) or report (log, do not enforce) | |
| rules | Yes | Rules that replace this scope. Each is {dimension: namespace|data_class|action|tool, target, effect: allow|notify|ask|block}. An agent rule may only narrow the org ceiling. An empty list clears that scope. | |
| scope | Yes | org (the ceiling) or agent | |
| agent_id | No | Agent record UUID when scope=agent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||