search_products
Find products in a WooCommerce store by free text, SKU, category, or stock status. Quickly locate items to check availability or details.
Instructions
Search products by free text, SKU, category id/name, or stock status.
stock_status is one of instock/outofstock/onbackorder.
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_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| page | No | ||
| query | No | ||
| category | No | ||
| per_page | No | ||
| stock_status | No |