Search the catalogue
search_productsSearches the business’s whole catalogue by the customer’s words, a budget, or both. Returns each product’s current price in INR, options, stock and link, plus the business’s live offers. next_cursor gives the next page.
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": {
"business": "<business>"
},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Products per page, 10 if not given. | |
| query | No | What the customer wants, in their words, e.g. "oval solitaire ring". Empty lists everything. | |
| cursor | No | next_cursor from the previous page. | |
| business | Yes | The business id from find_businesses, e.g. "carat-story". | |
| max_price | No | Highest price in INR. | |
| min_price | No | Lowest price in INR (rupees, not paise). | |
| collection | No | A collection from list_collections, to narrow the search. | |
| in_stock_only | No | Leave out sold-out products. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| offers | Yes | ||
| products | Yes | ||
| next_cursor | Yes |