search_products
Search and filter Shopify products using queries and criteria like price, vendor, and product type. Retrieve results sorted by relevance, title, price, or date with pagination.
Instructions
Search products using Shopify's discovery/search functionality
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 |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of products to fetch (1-250, default: 50) | |
| query | Yes | Search query (e.g., 't-shirt', 'category:shirts') | |
| filters | No | Additional filters | |
| reverse | No | Reverse the sort order | |
| sortKey | No | Field to sort by |