lookup_food_barcode
用商品條碼查食品的成分、營養、過敏原(Open Food Facts 全球食品資料庫)。使用者掃到條碼、問食品成分/營養時使用。
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": "lookup_food_barcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcode | Yes | 商品條碼(EAN/UPC 數字) |