search_products
Find products on a registered store. To BROWSE a store's catalog (open-ended requests like "what do they sell", "show me what's available"), call with NO query — this returns the store's products. To SEARCH, pass query (a product name/keyword). Returns paginated products as an interactive card. ALWAYS translate a buyer's budget or price constraint into the price params on THIS call instead of filtering in your reply: "under/below/within X" or "X budget" → max_price: X; "over/above/at least X" → min_price: X; "between X and Y" → both. Likewise pass in_stock: true for "available"/"in stock" and category when they name one. The card renders exactly what this call returns, so the filter MUST be applied here — never fetch the full catalog and then narrow it in text. Call once with your best intent (browse OR a single query); if a real search is genuinely empty, ask the user to clarify rather than re-firing reworded queries. The card shows products, prices, IDs, and Add-to-cart controls — keep your text reply to one brief sentence and do not re-list what the card shows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-indexed, default: 1) | |
| query | No | Optional single search term (product name/keyword). OMIT to browse; for several names use `queries`. | |
| queries | No | Search several product names at once (e.g. when the buyer lists multiple items). Returns all matches in ONE call/card instead of searching one at a time. Use `query` for a single search, `queries` for several, or omit both to browse. | |
| site_id | Yes | Registered site ID (e.g., "site_abc123" or "shopify_store_1") | |
| category | No | Filter by product category (optional) | |
| in_stock | No | Filter to in-stock items only (default: false) | |
| per_page | No | Results per page (default: 20, max: 100) | |
| max_price | No | Maximum price filter in store currency, format: "199.99" (optional) | |
| min_price | No | Minimum price filter in store currency, format: "19.99" (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| siteId | Yes | ||
| products | Yes | ||
| siteName | No |