Compare products
compare_productsCompare 2–4 CheapestInIndia products side by side on facts: current price, MRP and discount, store, retailer rating and review count, lowest price ever and in the last 30 days, how far today's price is above its low, and how often the price changes. Use ids from search_products. Highlights the cheapest, the best-rated and the one closest to its lowest price; it does not judge specs.
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": {
"ids": "<ids>"
},
"name": "compare_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | 2–4 product ids |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| cheapestId | No | ||
| missingIds | Yes | ||
| bestRatedId | No | ||
| closestToLowId | No |