get_order_countries
Retrieve the countries and state/province lists available for orders, with optional filtering by country code, to populate address forms and validate order destinations.
Instructions
[Order] GET /api/v{version}/order/countries Returns a list of countries plus any state/provinces the countries have.
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": "get_order_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | API version. Defaults to 1. | 1 |
| countryCode | No | Optional. Allows the country list to be filtered by country code. |