compare_products
Compare up to five products side by side across nutrition, labels, environmental impact, and ingredients using barcodes.
Instructions
Side-by-side product comparison for AI agents.
Compares multiple products across key dimensions: nutrition, labels, environmental impact, and ingredients.
Args: product_ids: List of product barcodes to compare (2-5 products)
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": {
"product_ids": "<product_ids>"
},
"name": "compare_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||