list_products
Retrieve WooCommerce products with filtering by status, category, search terms, sale status, and sorting options for store management.
Instructions
List products. Filter by status (publish, draft, pending, private), category ID, search term, or on_sale flag. Orderby: date, id, title, price, popularity, rating.
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 |
|---|---|---|---|
| status | No | ||
| category | No | ||
| search | No | ||
| on_sale | No | ||
| per_page | No | ||
| page | No | ||
| orderby | No | date | |
| order | No | desc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |