Get trend report data
get_trend_report_dataReturns a trend report's totals for each month (1-12) of a year in the user's display currency. When the included categories mix income and expense, a month's amount is income minus expenses; otherwise it is the total of that type. With includeDetails it also returns each month's amounts grouped by category and record description (label), largest first; records without a description share one entry per category with isUngrouped true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_trend_report_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Trend report ID from list_trend_reports. | |
| type | No | Only include the report's categories of this type. | |
| year | No | Calendar year (UTC); defaults to the current year. | |
| includeDetails | No | Also return the per-category breakdown of every month. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| year | Yes | ||
| months | Yes | ||
| details | No | ||
| currency | Yes |