woo_delete_variation
Delete a specific WooCommerce product variation by parent product ID and variation ID, removing outdated or incorrect variants from a catalog.
Instructions
Delete a product 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>",
"variation_id": "<variation_id>"
},
"name": "woo_delete_variation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| product_id | Yes | Parent product ID | |
| variation_id | Yes | Variation ID |