Look up a product by barcode
lookup_productResolve a UPC/EAN/GTIN barcode to the product it identifies and the current offers for it across Canadian grocery banners in one province. Requires a province because grocery prices are store-scoped: there is no single national price for a product. Returns an empty offer list, not an error, when the barcode is known but not currently carried. The result includes open_in_vynn_url, an absolute Vynn web link for this product.
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": {
"upc": "<upc>",
"province": "<province>"
},
"name": "lookup_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upc | Yes | The barcode to resolve. UPC-12, EAN-13 and GTIN-14 all work. | |
| limit | No | Maximum offers to return (1-500, default 100). | |
| province | Yes | Two-letter Canadian province or territory code, e.g. 'ON', 'BC', 'QC'. Coverage is Canada only. |