query_item_price
Retrieve average price and purchase history for a grocery item by name, with optional vendor filtering.
Instructions
Get average price and price history for a grocery item.
Search for an item by name (partial match supported) and optionally filter by vendor. Returns average price and recent purchase history.
Args: item_name: Name to search for (e.g., "banana" matches "Organic Bananas") vendor: Optional vendor filter (e.g., "Costco") limit: Maximum history entries to return (default: 10)
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": {
"item_name": "<item_name>"
},
"name": "query_item_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| vendor | No | ||
| item_name | Yes |