purchase-history
Search wine purchases by name, store, or date range to see total spent, average price, store breakdown, and recent buys.
Instructions
Search purchase history with spending summary. Filter by wine name, store, or date range (YYYY-MM-DD format). Shows total spent, average price, per-store breakdown, and recent purchases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Wine name search | |
| store | No | Store name filter | |
| date_to | No | End date (YYYY-MM-DD) | |
| date_from | No | Start date (YYYY-MM-DD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recent | Yes | ||
| byStore | Yes | ||
| avgPrice | Yes | ||
| totalSpent | Yes | ||
| bottleCount | Yes |