Spending trends
get_spending_trendsReview monthly spending by category across past months for a YNAB plan, from 1 to 24 months, to spot trends.
Instructions
Return monthly spending trends per category over the last N months.
The result maps each category name to its spending month by month, oldest first, in currency units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | YNAB plan id or 'last-used'. | |
| months_count | No | Number of past months to include, 1 to 24 (default 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||