WooCommerce: List product variations
woocommerce_list_product_variationsRetrieve all variations of a WooCommerce variable product to inspect pricing, stock status, and attribute combinations for each variation.
Instructions
[UNIFIED] List all variations of a variable product. Returns pricing, stock, and attribute combinations for each variation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"product_id": "<product_id>"
},
"name": "woocommerce_list_product_variations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| site | Yes | ||
| per_page | No | ||
| product_id | Yes |