Create a NEW budget (owner/admin authority + explicit confirm)
spendline_create_budgetCreate a new hierarchical budget. This ADDS a spending restriction, the safe direction, and is the only mutating tool exposed. Requires owner or admin authority AND confirm: true. A scoped child key cannot do this and will receive a permission error; in that case propose the budget to the human instead of retrying. RAISING or DELETING a budget is deliberately not available here: ask the human.
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_type": "<scope_type>",
"monthly_limit_usd": "<monthly_limit_usd>",
"confirm": "<confirm>"
},
"name": "spendline_create_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Present so a budget is never created as an incidental side effect, confirm with the human first, then set this. | |
| scope_id | No | Required unless scope_type is "org". | |
| scope_type | Yes | org = whole account. team = tag cost-centre. agent = x-agent-id. customer = x-customer-id. | |
| strict_mode | No | true blocks over-cap calls with HTTP 402. false records only. | |
| monthly_limit_usd | Yes |