create_tax_class
Create custom tax classes in WooCommerce to apply specific tax rates, such as adding 5% GST to food items.
Instructions
Create a custom tax class. After creating, add tax rates to it. Example: 'GST 5%' for food items.
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": {
"name": "<name>"
},
"name": "create_tax_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tax class name | |
| fields | No | Comma-separated fields to return in response |