Find products
list_productsRetrieve WooCommerce products with price, stock, and sales data; search by name or SKU, filter by stock status, and sort by best-selling to support catalog and inventory queries.
Instructions
Lists products with price, stock and total sales. Search by name or SKU, filter by stock status, or sort by best-selling (orderby "popularity").
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 | Exact SKU | |
| page | No | ||
| limit | No | Default 20 | |
| order | No | ||
| search | No | Words in the product name | |
| orderby | No | Default: date | |
| stock_status | No |