Spending by payment mode
get_spending_by_payment_modeExpense breakdown by payment mode (e.g. Cash, UPI, Card). Use when asked how the user paid or which payment mode they use most.
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_mode"
}
}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) |