compare_products
Compare nutrition facts of multiple food products side by side using their barcodes to identify healthier options.
Instructions
Compare the nutrition of two or more products side by side.
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": {
"barcodes": "<barcodes>"
},
"name": "compare_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| barcodes | Yes | A list of 2+ product barcodes (digits only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |