getProductByBarcode
Retrieve food product details, nutritional information, and allergens by scanning a barcode.
Instructions
Get product details by 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": "getProductByBarcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes |