Set AI spend cap
set_ai_spend_capChange the organisation's AI spend cap (the twin of ankra org ai-spend-cap set). A partial write: only the fields passed change, and null clears one. daily_chat_usd_cap is the daily chat cap in US dollars (null: the plan default applies); daily_token_soft_cap and daily_token_hard_cap are the daily token caps for unattended runs (null: no cap); the hard cap may not be below the soft cap. get_ai_spend_cap reads them. Needs billing.manage.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_ai_spend_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daily_chat_usd_cap | No | The daily chat cap in US dollars, greater than zero; null returns to the plan default. | |
| daily_token_hard_cap | No | Tokens a day after which new unattended runs are refused; null removes it. | |
| daily_token_soft_cap | No | Tokens a day after which unattended runs degrade to the quick tier; null removes it. |