Compare prices across retailers
compare_pricesCompare prices across Indian retailers for a product query and return the cheapest available listing per retailer (Amazon, Flipkart, Croma, …), sorted by price. Note: this returns the cheapest listing per store for the query — not necessarily the identical SKU. Use after search_products or standalone; then render_product_results to display the offers as cards.
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": {
"query": "<query>"
},
"name": "compare_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Filter by brand, e.g. 'apple' | |
| query | Yes | Product search query, e.g. 'iphone 15 128gb' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| offers | Yes | ||
| bestPrice | Yes |