wp_list_products
List WooCommerce products with optional filters for search, status, and pagination. Retrieve product data from WordPress to support inventory management and catalog display.
Instructions
List WooCommerce products with optional filters
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": "wp_list_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | No | ||
| status | No | Product status or 'any' | |
| per_page | No |