Search products
search_productsList and search catalog products (active unless status says otherwise: draft, archived or any), filtered by text (name or SKU), barcode (barcode or EAN/GTIN) or having none (withoutBarcode), category/brand/collection/model (productGroupId — the other colours and sizes of one model)/size/color/stock/tag/type, by price in a given currency (priceCurrency with minPrice/maxPrice, read through the product's price list) or having no price in it (withoutPriceIn), by being on or off a marketplace channel (channel, onChannel), or by supplier and the supplier's last stock report (supplierId, supplierStock), sorted by name, price, newest or popularity (units sold in the last 90 days), and paginated. Returns each product's catalog fields — price and prices per currency, stock (null when the shop does not count it; see trackInventory), availability, variant fields (productGroupId, color, size, material and the rest), attributes (every characteristic), category, brand — plus its model, warehouse and supplier by name and supplierOffers (what the supplier last said: quantity, restock date, purchase price, state), and pagination { page, perPage, total }. A full row is heavy: pass fields to receive only the parts you read (id is always included). Use get_product to fetch one product's full detail by id or SKU.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search over product name and SKU. Empty for no text filter. | |
| tag | No | Filter to products carrying this tag. Empty means any tag. | |
| page | No | 1-based page number of results to return. Default 1. | |
| size | No | Filter to products whose size equals this value, ignoring letter case (the product's own size field). Empty means any size. | |
| sort | No | Sort order. Empty sorts by name. Allowed: name_asc, name_desc, price_asc, price_desc, newest, popular — popular ranks by units sold in confirmed, processing, ready-to-ship, shipped or delivered orders over the last 90 days. Ties break by name. | |
| type | No | Filter by product type. Empty for any; "simple" or "bundle". | |
| color | No | Filter to products whose color equals this value, ignoring letter case (the product's own color field, not a free-form attribute). Empty means any color. | |
| fields | No | Which parts of each product to return; omit for the full row. `id` is always included. A hundred full rows weigh hundreds of kilobytes (description, translations, attributes, images, supplier offers), so when you only match or list products ask for what you read, for example ["name","sku","status","price","currency","stock","availability"]. `prices` is the price per currency, `stock` is null when the shop does not count it (see `trackInventory`), `supplierOffers` is what the supplier last said. | |
| status | No | Filter by catalog status. Empty keeps the storefront default of active only. Use "draft" to find products waiting to be reviewed (marketplace imports and unknown SKUs from orders land there), or "any" for every status. | |
| barcode | No | Only products whose barcode or EAN/GTIN equals this value (exact; leading zeros are ignored, so a 12-digit UPC finds its 13-digit EAN form). Omit for any. | |
| brandId | No | Filter to one brand by its id. Empty string means any brand. | |
| channel | No | A marketplace slug from list_marketplaces. Keeps the ACTIVE products that are on that channel (the same definition list_channel_products uses), or with onChannel=false those that are not. Omit for any. | |
| inStock | No | Set "true" to return only products with stock available. Empty means include out-of-stock. | |
| perPage | No | Number of products per page (1-100). Default 20. | |
| maxPrice | No | Only products priced at or below this amount — in the workspace currency, or in priceCurrency when you pass it. | |
| minPrice | No | Only products priced at or above this amount — in the workspace currency, or in priceCurrency when you pass it. | |
| onChannel | No | Used with channel: true (default) = only products on the channel, false = only products NOT on it. Ignored without channel. | |
| categoryId | No | Filter to one category by its id. Empty string means any category. | |
| collection | No | Filter to the products of one collection, by its slug from GET /collections. Only a collection that is visible and in season matches — an unknown, hidden or out-of-season slug is reported as not found, exactly like GET /collections/{slug}. Empty means no collection filter. | |
| stockState | No | Filter by stock state, for products that track inventory. "low" returns products at or under their reorder threshold; "out" returns products with nothing left. Empty applies no stock-state filter. | |
| supplierId | No | Only products bought from this supplier — an id from list_suppliers — or "none" for products with no supplier. Omit for any supplier. | |
| warehouseId | No | Filter to products in one warehouse by its id, from the warehouse list. Use "none" for products assigned to no warehouse — they match no id, so nothing else surfaces them. Empty means any warehouse. An id absent from this workspace is reported as an error, never as an empty result. | |
| priceCurrency | No | ISO 4217 code such as EUR. Makes minPrice/maxPrice compare the price the product has in THIS currency (its price list, else its own price when that is its currency) and keeps only products that are sold in it. Without minPrice/maxPrice it simply keeps the products sold in that currency. Omit to compare the workspace-currency price. | |
| supplierStock | No | Only products whose supplier feed (e.g. Sipec) last reported this: in_stock (quantity above zero), arriving (none now, a restock date given), out_of_stock (none, no date), unknown (the supplier has not said). Omit for any. | |
| productGroupId | No | Filter to the variants of one model: products whose productGroupId equals this value exactly. It is the merchant's (or supplier's) own model code, so letter case is part of it. Use it to render the other colours and sizes of the product a buyer is looking at. Empty means any model. | |
| withoutBarcode | No | true = only products with neither a barcode nor an EAN/GTIN — the ones a marketplace refuses without an exemption. Omit for any. | |
| withoutPriceIn | No | ISO 4217 code such as EUR. Only products with NO price in this currency (no price-list row and it is not their own currency) — the ones a store in that currency cannot sell. Omit for any. |