search_products
Search for products in the Shopify store by text, vendor, or status to retrieve product IDs and total inventory, enabling subsequent detail lookup.
Instructions
Find products in the store by free text, vendor, or status. Returns identity and total inventory only, not per-variant detail; call get_product for that. Use this first when you do not already know a handle.
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": {
"query": "<query>"
},
"name": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum products to return, 1-50. | |
| query | Yes | Shopify search syntax, e.g. 'title:shirt', 'vendor:Acme', 'status:ACTIVE', or plain words. |