get_product_by_barcode
Retrieve food product details and nutrition data by GTIN barcode (GTIN-8, -12, -13, or -14) from a global food database.
Instructions
Products with this barcode (GTIN-8, -12, -13 or -14).
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 | ||
| snapshot | No | ||
| include_off | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||