Search catalogue
search_catalogueSearch every product in the workspace's readable catalogue by text, supplier or category, optionally only those with an open recommendation. Use it whenever a product, brand, barcode or supplier is named and you need to know whether and where it is stocked. Pass up to 100 exact identifiers in ids (SKU, PLU, supplier or manufacturer SKU, or the product's own store page URL) to resolve a list in one call; each comes back matched or in not_found. Overly broad identifier results fail explicitly; use fewer or more specific ids. For figures on the results use twelfth_list_products; to resolve a supplier's exact name first use find_supplier.
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_catalogue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Up to 100 exact identifiers (barcode/SKU, source product id/PLU, supplier SKU, manufacturer SKU, alternate barcode, or the product's page URL on the workspace's own store, compared on host and path), matched case-insensitively; case-variant duplicates resolve once. Use on its own, without query, supplier_id, supplier_name, category, only_recommended or limit. Overly broad results fail explicitly; use fewer or more specific ids. | |
| limit | No | Maximum rows to return (1 to 100), taken after order_by. | |
| query | No | Free text: source brand, manufacturer, product words, SKU/barcode, source product id/PLU, supplier code, category or source lifecycle such as discontinued. Every word must appear somewhere in the row. | |
| context | No | Optional, analytics only: why you are calling this, in a few words; name roles, never people or figures. | |
| category | No | Category name to filter by. | |
| order_by | No | Rank every match by a measure before the limit: slowest_selling or fastest_selling (units over 4 weeks), most_stock_at_cost, most_cover (days of cover). Omit for recommended first, then name, which ranks nothing. | |
| supplier_id | No | A supplier's id as find_supplier returned it: that supplier's products, without pre-owned trade-ins. Prefer it to supplier_name once the supplier is resolved. | |
| in_stock_only | No | True = only lines with stock on hand (available stock above zero), filtered server-side over every match. Use it whenever the question says "still have stock" or "holding stock"; never state that condition from rows read without it. | |
| supplier_name | No | Supplier name, fragment or acronym; resolved against the real supplier list. Without pre-owned trade-ins. | |
| conversation_id | No | Optional, analytics only: one opaque id reused on every call in this conversation. | |
| units_l4w_below | No | Only lines that sold FEWER than this many units over the last 4 weeks, counted server-side over every match ("amiibo that haven't sold 8 in 30 days" = 8). Lines with no measured sales are left out. | |
| only_recommended | No | True = only SKUs named by an open recommendation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Matching catalogue products. | |
| scope | Yes | What population was searched. | |
| not_found | No | With ids: identifiers no product in the caller's remit carries. | |
| truncated | Yes | True when more rows matched than were returned. | |
| evidence_id | Yes | Handle for these rows within this call's results. Not a citation. | |
| returned_rows | Yes | Rows in this response. | |
| resolved_suppliers | No | How a supplier_name filter resolved, when one was given. | |
| source_evidence_ids | Yes | Workspace evidence IDs backing these rows. Empty when the source carries no evidence records. | |
| total_matching_rows | Yes | Rows that matched before any limit. |