search_receipt_line_items
Search across every parsed line item the user has uploaded (case-insensitive substring on description + normalized description). Returns matching items, total count, and aggregate spend grouped by currency. Optional category, startDate, and endDate further narrow the window. Use this for questions like 'how much did I spend on cappuccinos this year?'.
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": {
"query": "<query>"
},
"name": "search_receipt_line_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size for the items array (default 50, max 200). | |
| query | Yes | Free-text query (>= 2 chars). Matched against item description. | |
| offset | No | Number of items to skip for pagination. | |
| endDate | No | ISO date — items from receipts dated on/before. | |
| category | No | Restrict to a line-item category id (e.g. 'food_dairy'). | |
| startDate | No | ISO date — items from receipts dated on/after. |