Update Budget
update_budgetUpdate an existing budget (PUT /api/budgets/{budget_id}). Provide budget_id and any of: name, amount, start_date (YYYY-MM-DD), end_date (YYYY-MM-DD), period, integration_id, scope, threshold_pcts, notification_channel_ids (replaces the attached channels; [] detaches all), emails (replaces the ad-hoc addresses, max 5; [] clears), enabled. A true PARTIAL update — only the fields you send are changed; everything omitted is preserved (so { enabled: false } disables without touching scope, thresholds, channels or emails). The currency is NOT settable. Returns the updated budget. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "budget_id": "b1a2c3d4-...", "enabled": false, "confirm": true } disables a budget; { "budget_id": "…", "amount": 60000, "confirm": true } changes only the amount.
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": {
"budget_id": "<budget_id>"
},
"name": "update_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the budget. | |
| scope | No | Optional structured scope. Combined with integration_id to express the scope hierarchy: omit everything + no integration_id = org-wide; { platform } = a whole platform; { costCenterId } = a cost center; integration_id + optional { accountIds, services, tagKey, tagValue } = that integration, optionally narrowed to sub-accounts / services / a tag. | |
| amount | No | New budget amount (positive, org display currency). | |
| emails | No | Up to 5 email addresses to notify directly, without a channel. On update this REPLACES the list; [] clears it; omit to keep it. For a longer list, create an email channel and attach its id. | |
| period | No | New period: monthly | quarterly | annual. | |
| confirm | No | Set to true to actually create the budget. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side. | |
| enabled | No | Enable or disable the budget. | |
| end_date | No | When tracking stops (YYYY-MM-DD). Omit for an ongoing budget; must be on or after start_date. | |
| budget_id | Yes | The id of the budget to update (substituted into PUT /api/budgets/{budgetId}). Required. | |
| start_date | No | New effective date, YYYY-MM-DD. | |
| integration_id | No | Re-scope the budget to a single provider connection. | |
| threshold_pcts | No | Replace the alert thresholds (percentages of the budget, e.g. [80, 100]). | |
| notification_channel_ids | No | Ids of the organization's notification channels (any number, any type — email, Slack, Teams) to deliver threshold crossings to. Get them from list_notification_channels. On update this REPLACES the set; [] detaches every channel; omit to keep the current channels. |