get_product_by_barcode
Retrieve complete nutrition facts for any food product by entering its barcode (EAN/UPC).
Instructions
Get full nutrition facts for a food product by its barcode (EAN/UPC).
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": "get_product_by_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | The product barcode, digits only (e.g. "3017620422003"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |