Find products
find_productsProducts whose title, product type, SKU or category name has query, in the category named category (any
case), by title. Each says what tells it apart: its price range, availability, whether it has a photo and its
categories. A category name the business doesn't have gets category_not_found with did_you_mean, the
closest names. total counts every product the search keeps.
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": "find_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many products to return. | |
| query | No | The words to look for. | |
| status | No | Active products are shown in flipbooks; drafts are not. | |
| category | No | Only products in the category with this name, in any case. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | How many products the search keeps; more than the items when it is past the limit. |