set_agent_budget
Set an agent's caps (PUT-replace; pass null / omit a field to CLEAR that cap). writes_per_day = rolling-24h write cap; requests_per_sec = per-agent req/s cap. Each must be null or a non-negative int. auto_pause (default false): when true, tripping this row's writes/day cap auto-pauses the agent org-wide (it trips its own kill switch). Owner/admin only; the target must be a kind='agent' member of org_id. Pass board_id to set a PER-BOARD override (writes/day only; per-board req/s is deferred); omit it for the org-wide budget. GATED to the Scale/Agency tier; an un-entitled org gets 403 governance_not_entitled. Mirrors PUT /v1/orgs/{org_id}/agents/{agent_user_id}/budget[?board_id=].
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": {
"org_id": "<org_id>",
"agent_user_id": "<agent_user_id>"
},
"name": "set_agent_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | ||
| board_id | No | ||
| auto_pause | No | ||
| agent_user_id | Yes | ||
| writes_per_day | No | ||
| requests_per_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||