Compare products side by side
em_compareCompare 2–5 Emalls products by price, rating, and specs that differ to choose between models; shared specs are counted, then check offers for the winner.
Instructions
Compare 2-5 Emalls products: prices, rating and only the specs whose values differ.
Use it to choose between models. specs maps each differing spec to a value per product id (missing = no
value); same counts shared specs. Then em_offers for the winner.
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": "em_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_ids | Yes | 2-5 product ids. |