create_category
Add a new category to a YNAB budget group, with optional savings targets and a dry-run preview to validate before creating.
Instructions
Create a category in a YNAB category group.
Args: category_group_id: Category group UUID. name: Category name. note: Optional category note. target_amount: Optional positive target amount in dollars. target_date: Optional target date in YYYY-MM-DD format. target_needs_whole_amount: Whether the entire target is needed. target_frequency: Optional target recurrence: monthly, weekly, or yearly. Cannot be combined with target_date. budget_id: Budget ID. Defaults to last-used budget. dry_run: Validate and preview without creating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | No | ||
| dry_run | No | ||
| budget_id | No | ||
| target_date | No | ||
| target_amount | No | ||
| target_frequency | No | ||
| category_group_id | Yes | ||
| target_needs_whole_amount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |