Where is a product cheapest
compare_pricesFind where a product is cheapest right now. Matches the same product at Aldi, Tesco, SuperValu, Dunnes Stores and Lidl and returns each store's current price side by side, with unit prices, offers and member prices (Tesco Clubcard, SuperValu Real Rewards, Lidl Plus). To list the products most stores stock, leave out query and set min_stores, e.g. min_stores=5 for every product matched at all five. Free: no BasketWatch account needed.
Args:
query: the product, e.g. "heinz ketchup" or "kerrygold butter 454g".
Optional when min_stores is given.
limit: how many matched products to return (default 5, max 50).
min_stores: only products matched at at least this many stores, 2 to
5, with or without query.
Returns {"as_of", "query", "matches": [{"product", "pack", "prices":
{store: {name, price, unit_price, unit_basis, offer_text, was_price,
offer_ends, clubcard_price, url}}, "cheapest_store"}]}. A store missing from "prices" did not have that product in its online range today and may still sell it in store: say "not found online", not that the store lacks it. offer_ends is the last day an
offer applies (Irish time): say when an offer ends, as online orders are
priced for the delivery or collection day.
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": "compare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| min_stores | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Price date, YYYY-MM-DD | |
| query | No | ||
| matches | No |