list_products
Search and filter the WooCommerce product catalog using status, category, tag, type, price range, and search term. Optimize responses by requesting only the fields you need.
Instructions
Search and filter the product catalog. Supports filtering by status, category, tag, type, price range, and search term. Use fields param to request only needed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag ID to filter by | |
| page | No | Page number | |
| type | No | Product type | |
| order | No | Sort direction | |
| fields | No | Comma-separated fields to return (default: id,name,type,status,sku,price,regular_price,sale_price,stock_status,stock_quantity,categories,images,attributes) | |
| search | No | Search term | |
| status | No | Product status | |
| orderby | No | Sort field | |
| category | No | Category ID to filter by | |
| featured | No | Filter by featured | |
| in_stock | No | Filter by in-stock status | |
| per_page | No | Items per page (max 100) | |
| max_price | No | Maximum price | |
| min_price | No | Minimum price |