Search products
search_productsFind WooCommerce products by text, SKU, or status and return compact rows with IDs, names, types, prices, and stock levels for quick catalog lookup.
Instructions
Search WooCommerce products by text, SKU (comma-separated for several) or status. Returns compact rows: id, name, sku, type, status, prices, stock.
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 | Exact SKU, or several separated by commas | |
| page | No | ||
| search | No | Text to search in product names and content | |
| status | No | any | |
| on_sale | No | ||
| per_page | No |