product_lookup
Look up product details from an EAN/UPC barcode: name, brand, ingredients, allergens, nutrition, Nutri-Score, NOVA group, and image via Open Food/Beauty/Products Facts.
Instructions
Product Lookup by Barcode — Look up a product by EAN/UPC barcode in Open Food Facts, Open Beauty Facts and Open Products Facts: name, brand, quantity, categories, ingredients, allergens, labels, nutrition per 100 g, Nutri-Score, NOVA group and image URL. Params: barcode (8 to 14 digits, required). Cost: $0.005 USDC per call. Latency p99: 2500ms.
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": "product_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | EAN-13, EAN-8 or UPC |