update_budget
Update an existing budget by modifying its name, amount, alerts, or scope. Supports partial updates; confirm changes before applying.
Instructions
Use this when the user wants to modify an existing budget. Supports partial updates. Ask the user to confirm the changes before executing. Do NOT use this for viewing budgets (use list_budgets) or creating new budgets (use create_budget).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the budget to update (required). | |
| name | No | Budget name. Must be non-empty if provided. | |
| type | No | Budget type. Accepted values: fixed, recurring. | |
| scope | No | List of allocations that define the budget scope (deprecated). Cannot be combined with scopes. | |
| alerts | No | List of up to three alert thresholds defined as a percentage of the amount. | |
| amount | No | Budget period amount. | |
| metric | No | Budget metric. Accepted values: cost, amortized_cost. Defaults to cost. | |
| public | No | Public sharing access level. Accepted values: owner, editor, viewer. | |
| scopes | No | Filters that define the scope of the budget. Cannot be combined with scope. | |
| currency | No | Currency code. Accepted values: USD, ILS, EUR, AUD, CAD, GBP, DKK, NOK, SEK, BRL, SGD, MXN, CHF, MYR, TWD, EGP, ZAR, JPY, IDR, AED, THB, COP. | |
| endPeriod | No | Fixed budget end date as a UNIX timestamp in milliseconds. Must not be set for recurring budgets. | |
| recipients | No | List of email addresses to notify when reaching an alert threshold. | |
| description | No | Budget description. | |
| startPeriod | No | Budget start date as a UNIX timestamp in milliseconds. | |
| timeInterval | No | Recurring budget interval. Accepted values: day, week, month, quarter, year. | |
| usePrevSpend | No | Use the last period's spend as the target amount for recurring budgets. Defaults to false. | |
| collaborators | No | List of permitted users to view/edit the budget. If provided, must include at least one collaborator with role 'owner'. | |
| growthPerPeriod | No | Periodical growth percentage in recurring budgets. Must be >= 0. Defaults to 0. | |
| seasonalAmounts | No | List of seasonal amounts for recurring budgets with different amounts per period. | |
| recipientsSlackChannels | No | List of Slack channels to notify when reaching an alert threshold. |