analytics_period_categories_top
Retrieve the highest-spending categories for a statement period, ideal for analyzing top categories and food expenses like dining out plus groceries.
Instructions
Get top categories for a statement period. Before calling: Call analytics_periods_list first to confirm the requested period exists. If missing, ask the user to choose from available periods. When to use: Use for top-N category questions inside one statement period, including food questions where food means dining out plus groceries. Trigger words: top categories, highest categories, ranked categories, food, dining out, groceries
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": {
"period": "<period>"
},
"name": "analytics_period_categories_top"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| limit | No | ||
| paymentMethod | No | ||
| account | No |