top_merchants
Identify merchants with the highest spending for an account in a date range. Get top payees by total expenses to analyze spending patterns.
Instructions
Find merchants/payees with the highest spending in a date range.
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": {
"accountId": "<accountId>",
"dateFrom": "<dateFrom>",
"dateTo": "<dateTo>"
},
"name": "top_merchants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of top merchants to return (default: 10) | |
| dateTo | Yes | End date (YYYY-MM-DD) | |
| dateFrom | Yes | Start date (YYYY-MM-DD) | |
| accountId | Yes | Account ID (required) |