Search products
search_productsSearch PriceInIndia for products sold in India and get matching listings with prices from retailers such as Amazon, Flipkart, Croma and Reliance Digital. Returns products (with price, MRP, discount, store, image and links) plus facet counts for brands, stores, categories and price buckets. Call this first for any product question; then optionally call compare_prices for a cheapest-per-retailer comparison, and render_product_results to show the products as cards in the chat.
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": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| sort | No | Sort order (default: relevance) | |
| brand | No | Filter by brand, e.g. 'sony' | |
| query | Yes | Product search query, e.g. 'sony wh-1000xm5' | |
| store | No | Filter by retailer, e.g. 'amazon.in' | |
| category | No | Filter by category group id (from browse_categories) or name | |
| per_page | No | Results per page (default 10, max 20) | |
| max_price | No | Maximum price in INR | |
| min_price | No | Minimum price in INR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| query | Yes | ||
| total | Yes | ||
| facets | Yes | ||
| products | Yes |