get_transactions
Retrieve transaction records by date, category, merchant, card, platform, or bank; combine filters to find matching purchases and spending summaries.
Instructions
Retrieves transactions based on flexible filters.
Logic:
- Multiple values within a filter are treated as OR (e.g., category=['Dining', 'Food'] -> Dining OR Food).
- Different filters are treated as AND (e.g., category='Dining' AND card='HDFC').
Args:
limit (int): Max number of records to return (default: 5).
start_date (str): Filter for transactions ON or AFTER this date (Format: YYYY-MM-DD).
end_date (str): Filter for transactions ON or BEFORE this date (Format: YYYY-MM-DD).
category (list[str]): List of categories to match (e.g., ["Dining", "Groceries"]).
merchant (list[str]): List of merchants to match (e.g., ["Amazon", "Flipkart"]).
card_name (list[str]): List of card names to match (e.g., ["HDFC", "Amex"]).
platform (list[str]): List of platforms (e.g., ["Swiggy", "Zomato"]).
bank (list[str]): List of banks (e.g., ["HDFC", "SBI"]).
Returns:
dict: A structured list of matching transactions and a summary count.
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_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | ||
| limit | No | ||
| category | No | ||
| end_date | No | ||
| merchant | No | ||
| platform | No | ||
| card_name | No | ||
| start_date | No |