royal-mcp__wc_get_products
Get WooCommerce products. Without page: an array of up to per_page products (default 10, max 100). With page: {products, page, per_page, total, total_count, total_pages, ignored_args}; iterate page until page >= total_pages to list a whole catalog. Each row carries stock_quantity, stock_status and manage_stock. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | SKU to match (WooCommerce matches partial SKUs) | |
| page | No | Page number, 1-indexed. When given, the reply includes total and total_pages. | |
| type | No | Product type (simple, variable, grouped, external) | |
| search | No | Search term | |
| status | No | Product status (publish, draft, etc) | |
| exclude | No | Leave out these product IDs | |
| include | No | Only these product IDs | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| category | No | Category slug to filter by | |
| per_page | No | Products per call (default 10, min 1, max 100) | |
| attribute | No | Global attribute taxonomy slug (e.g. pa_color from wc_get_product_attributes). Requires attribute_term. | |
| stock_status | No | Stock status | |
| attribute_term | No | Term slug or term_id within the attribute (e.g. black-color from wc_get_attribute_terms). Requires attribute. |