set_agent_budget
Set or remove an agent's USD spending cap, and raise the cap to let a budget-stopped agent resume on its next turn. Use null to remove the limit.
Instructions
Set or remove the cap (limit_usd: null = unlimited). Also the recovery loop: raising the cap lets a budget-stopped agent run again on the next turn
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>",
"limit_usd": "<limit_usd>"
},
"name": "set_agent_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent UUID | |
| limit_usd | Yes | Spending cap in USD, at least zero; null removes the cap |