woo_list_variations
Retrieve the purchasable, visible variations of a WooCommerce variable product by parent product ID and site so you can inspect available options.
Instructions
List the available (purchasable, visible) variations of a variable product
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": "woo_list_variations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| product_id | Yes | Parent product ID |