Price range for an item
price_rangeWhere a price sits: the cheapest, typical (median) and priciest qualified unit price for the same item across stores near a place on a day (flyer offers valid that day, shelf prices read within a week), how many prices each rests on, and status ranged | thin_range | unranged. Give quantity, unit and paidMinor to get the percentile and savings for a price. Use it before a purchase to say what a fair price is; record_purchases stores the same numbers.
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>",
"near": "<near>"
},
"name": "price_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | Day to price, YYYY-MM-DD (default today). | |
| item | Yes | The generic item, as compare_items takes it: "chicken thighs", "large eggs", "bananas". Not a brand or receipt code. | |
| near | Yes | Where the shopper is: a Canadian postal code ("M6H 2B6"), an FSA ("M6H"), or "lat,lng". | |
| unit | No | Unit of `quantity`; also picks the unit prices compare in (kg, L or each). | |
| quantity | No | ||
| radiusKm | No | Search radius in km around `near` (default 5). | |
| paidMinor | No | A price paid or planned for `quantity`, in cents. |