delete_tax_class
Remove a WooCommerce tax class by slug. The Standard class cannot be deleted, and existing rates in that class become orphaned.
Instructions
Delete a tax class by slug. Cannot delete the Standard class. Rates in this class will be orphaned.
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": {
"slug": "<slug>"
},
"name": "delete_tax_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Tax class slug | |
| force | No | Must be true (tax classes require force delete) | |
| fields | No | Comma-separated fields to return in response |