Compare two products
compare_productsSide-by-side comparison of two products: price, price per 100g, size, shops and ingredients.
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": {
"slug_a": "<slug_a>",
"slug_b": "<slug_b>"
},
"name": "compare_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug_a | Yes | Slug of the first product, from search_products or cheapest results. | |
| slug_b | Yes | Slug of the second product to compare against the first. |