Product spend summary
summarize_receipt_itemsPer-product summary across all receipt photos: how many times it was bought, total spent, and the unit price (quantity-weighted average, min, max, latest) per base unit (kg, l, unit), plus where it was bought. Answers "how much am I paying per kilo of apples", "what is the most expensive thing I buy at the supermarket" (sort=unitPrice, merchant=...), "what do I buy most often" (sort=frequency). Always say the unit when you quote a price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Product words; every word must match. | |
| sort | No | spend (default), unitPrice or frequency, highest first; name, A to Z. | |
| limit | No | How many products. Defaults to 20. | |
| dateTo | No | Purchases on or before this day, YYYY-MM-DD. | |
| dateFrom | No | Purchases on or after this day, YYYY-MM-DD. | |
| merchant | No | Only shops whose name contains this text. | |
| householdId | No | Household ULID to act on. Call list_households for the covered households; may be omitted only when the connection covers exactly one. |