List / search products
list_productsSearch and filter the WooCommerce catalogue by text, SKU, status, category, or stock status, then return a paginated product list with price and inventory details.
Instructions
Search the catalogue by text, SKU, status, category or stock status. Returns a page of products with price and 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": "list_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| page | No | ||
| order | No | desc | |
| search | No | Free-text search on name/description | |
| status | No | publish | |
| orderby | No | date | |
| category | No | Category id | |
| per_page | No | ||
| stock_status | No |