Search products
search_productsSearch by keyword with optional category filter to find matching products. Returns product name, price, and stock.
Instructions
Search the merchant catalog by keyword, with an optional category filter. Returns matching products with id, name, price, and stock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Keyword to match against product name and description. | |
| category | No | Optional category to restrict results to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of products matched. | |
| products | Yes | The matching products. |