wc_delete_shipping_zone
Deletes a WooCommerce shipping zone. Ask the user for confirmation before calling with confirm=true. Mirrors woocommerce-mcp-server method delete_shipping_zone using local WordPress authentication; no WooCommerce REST API keys are required.
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_id": "<site_id>",
"zoneId": "<zoneId>",
"confirm": "<confirm>"
},
"name": "wc_delete_shipping_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, permanently delete where WooCommerce supports forced deletion. | |
| zoneId | Yes | The shipping zone ID. | |
| confirm | Yes | Must be true only after the user explicitly confirms this WooCommerce mutation. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. |