Set a category’s budget
set_budget_amountSet the budgeted amount in cents for a category in a specific month, replacing any existing value. Returns updated budgeted, spent, and balance figures so changes are immediately visible.
Instructions
Set the amount budgeted to one category for one month, in integer cents. This replaces the existing amount rather than adding to it. Returns the category’s resulting budgeted/spent/balance figures so the effect is visible immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | Yes | Month to budget in, as YYYY-MM. | |
| amount | Yes | Amount to budget, in cents. Replaces the current amount. | |
| categoryId | Yes | Category id, from list_categories. |