Set an agent's mandate
set_agent_policyWhat an agent may spend without a person (agent '*': the default for agents without their own): per_action_usd (refused above), monthly_usd and approval_over_usd (a person approves above), merchants (payees it may pay on its own; empty: any), blocked (never), paused, auto_freeze (freeze its cards when an incident needs action; the protection role). Only the fields given change; a limit of 0 removes it. remove true deletes it. Confirm with the user first.
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": "<agent>"
},
"name": "set_agent_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| agent | Yes | ||
| owner | No | ||
| paused | No | ||
| remove | No | ||
| blocked | No | ||
| merchants | No | ||
| auto_freeze | No | ||
| monthly_usd | No | ||
| per_action_usd | No | ||
| approval_over_usd | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||