wp_woocommerce_create_tax_rate
Create a new WooCommerce tax rate for a country or state, defining the rate percentage, name, and optional location or shipping settings.
Instructions
Create a new WooCommerce tax rate for a specific country/state.
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": {
"country": "<country>",
"rate": "<rate>",
"name": "<name>"
},
"name": "wp_woocommerce_create_tax_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tax rate name (e.g. "TVA", "VAT", "Sales Tax") | |
| rate | Yes | Tax rate percentage (e.g. "20.0000" for 20%) | |
| state | No | State/province code (optional) | |
| cities | No | Semicolon-separated cities (optional) | |
| country | Yes | Country code (e.g. "FR", "US", "GB") | |
| shipping | No | Apply to shipping? 1=yes, 0=no (default: 1) | |
| postcodes | No | Semicolon-separated postcodes (optional) |