Analytics: Get category trend
get_category_trend Get monthly spending trend for a specific category.
Shows how spending in a category has changed over time,
including percentage of total spending and month-over-month change.
Args:
category_id: Category ID (provide this OR category_name)
category_name: Category name, case-insensitive (provide this OR category_id)
months: Number of months (default 6)
Returns:
Monthly amounts, percent of total spending, and change percentages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_category_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | ||
| category_id | No | ||
| category_name | No |