Price history for an item
price_historyAn item's observed unit-price range (min, median, max per kg, L or item) by flyer week (Thursday to Wednesday), from flyer offers and shelf prices near a place, plus longRun: the Statistics Canada monthly average unit price for the item since 2017 (Ontario, else Canada), with its 1- and 5-year change. weeksKnown says how many weeks Gaurmon has: its history started with the Oct 29 2026 flyer week and grows by one each Thursday, so say so when it's short, and say longRun is a provincial average, not a store price.
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": "<item>"
},
"name": "price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | The generic item, as compare_items takes it: "chicken thighs", "large eggs", "bananas". Not a brand or receipt code. | |
| near | No | Where the shopper is: a Canadian postal code ("M6H 2B6"), an FSA ("M6H"), or "lat,lng". | |
| unit | No | Compare in this unit (default: the one most prices use). | |
| weeks | No | How many flyer weeks back, including this one (default 8). | |
| radiusKm | No | Search radius in km around `near` (default 5). |