list_countries
Fetch all countries and their states/provinces from WooCommerce to set up shipping zones and tax rules.
Instructions
List all countries available in WooCommerce with their states/provinces. Useful for setting up shipping zones and tax rules.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated fields to return (default: code,name,states) |