ynab_update_category
Update the budgeted amount for a YNAB category in the current month. Enter category ID and amount in milliunits; dry run option to preview.
Instructions
Update the budgeted amount for a category in the current month.
Args:
budget_id (string, optional): Budget UUID. Omit to use the default budget.
category_id (string, required): Category UUID.
budgeted (int, required): New budgeted amount in milliunits (dollars × 1000).
dry_run (boolean, optional): Preview without saving. Default: false.
Returns: updated category with new budgeted, activity, balance.
Examples:
Budget $100: set budgeted=100000 (milliunits)
Dry run: set dry_run=true
Errors:
"No default budget set" → run ynab_set_default_budget first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget_id | No | ||
| category_id | Yes | ||
| budgeted | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||