WooCommerce: Delete product variation
woocommerce_delete_product_variationDelete or trash a single variation of a variable WooCommerce product while leaving the parent product unchanged.
Instructions
[UNIFIED] Delete (or trash) a single variation of a variable WooCommerce product without touching the parent 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>",
"variation_id": "<variation_id>"
},
"name": "woocommerce_delete_product_variation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| force | No | ||
| product_id | Yes | ||
| variation_id | Yes |