list_products
Fetch and filter WooCommerce products by search term, exact SKU, stock status, or category to view price and stock details.
Instructions
Products with price and stock. Filter by a search term, an exact SKU, stock_status (instock, outofstock, onbackorder) or a category (id or name).
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 | ||
| limit | No | ||
| search | No | ||
| category | No | ||
| stock_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||