lookup_barcode
Identify a product from its barcode, retrieving details from Open Food Facts and falling back to UPC ItemDB if needed.
Instructions
Look up a product by barcode. Tries Open Food Facts first, then UPC ItemDB as fallback.
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": {
"barcode": "<barcode>"
},
"name": "lookup_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | Product barcode (EAN/UPC, 8-14 digits) |