Spending by payment method
get_spending_by_payment_methodExpense breakdown by payment method (e.g. specific bank accounts or cards). Use when asked which account or card the user spent from.
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_spending_by_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date in YYYY-MM-DD format (default: today) | |
| startDate | No | Start date in YYYY-MM-DD format (default: 30 days before endDate) |