Food product and barcode lookup
product_lookupLook up packaged foods and drinks by barcode or name in Open Food Facts to retrieve brand, ingredients, allergens, Nutri-Score, NOVA level, and nutrition per 100 g.
Instructions
Look up a packaged food or drink by barcode (EAN/UPC) or name in Open Food Facts (3M+ products): brand, ingredients, allergens, Nutri-Score, NOVA processing level and nutrition per 100 g. Costs $0.001 per call.
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": "product_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Product name, e.g. "nutella". Use this or barcode. | |
| barcode | No | EAN-13 / UPC barcode digits. |