get_states_in_country
Retrieve all states or provinces for a given two-letter country code to build regional lists or verify geographic data.
Instructions
Get all states/provinces in a specific country.
Args:
country_code: Two-letter country code (e.g., "US", "CA", "AU")
Returns:
List of states/provinces in the country
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_code": "<country_code>"
},
"name": "get_states_in_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |