search_products
Searches the product catalog of an e-commerce client. Supports natural-language queries plus optional filters for category, price range, collection, and stock status. Only works for e-commerce clients.
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": {
"client_slug": "<client_slug>"
},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (1-25, default 10). | |
| query | No | Natural-language search terms. | |
| category | No | Product category filter. | |
| max_price | No | Maximum price in dollars. | |
| min_price | No | Minimum price in dollars. | |
| collection | No | Collection name filter. | |
| client_slug | Yes | Unique slug identifying the e-commerce client. | |
| in_stock_only | No | If true, only in-stock products. |