Search flyer offers
search_offersThis week's flyer offers for item words, an aisle, or deals near a place: give at least one of query, aisle or near. Each row has a comparable unit price (per kg, L or item), dates (valid is the first and last day, Toronto time), the nearest store carrying it, and an offerId for get_offer_evidence and show_offers. At most 50 rows a call; use aisle and unit filters and fields to keep answers small.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Where the shopper is: a Canadian postal code ("M6H 2B6"), an FSA ("M6H"), or "lat,lng". | |
| sort | No | ||
| unit | No | Only offers priced per this unit, so prices compare. | |
| aisle | No | ||
| limit | No | Default 20, at most 50. | |
| query | No | Item words, e.g. "chicken thighs". Omit to browse an aisle or the deals near a place. | |
| fields | No | Return only these fields per row (offerId and priceKind are always kept), to save tokens. | |
| banners | No | Limit to these banners, e.g. ["no-frills", "food-basics", "freshco"]. | |
| radiusKm | No | Search radius in km around `near` (default 5). | |
| attributes | No | Every listed attribute must be present, e.g. ["halal"]. | |
| maxUnitPrice | No | Dollars per `unit`. | |
| minDiscountPercent | No |