get_trend_analysis
Gets income and/or expense budget trend analysis for a date range and period — the data behind the Trends report (per-bucket actual vs budget for chosen categories over time). Analyses across specified categories and all user scenarios by default. navigate_to_trends is the matching page link to offer alongside an answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | The period to analyse. | |
| user_id | Yes | The unique identifier of the user. | |
| end_date | Yes | End date for analysis (YYYY-MM-DD). | |
| interval | Yes | The period interval, e.g. 2 with period 'weeks' analyses fortnightly. | |
| scenarios | No | Optional comma-separated list of scenario IDs. Defaults to all user scenarios if omitted. Only provide to limit analysis to specific scenarios. | |
| categories | Yes | A comma-separated list of category IDs to analyse. | |
| start_date | Yes | Start date for analysis (YYYY-MM-DD). |