List states or cities
list_regionsFind states in a country or cities in a state by supplying a country name, ISO code, ID, or state ID; read-only geographic lookup.
Instructions
List states of a country, or cities of a state. Pass either country (name/code/id) or state_id. Read-only.
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_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| country | No | Country name, ISO code or id; lists its states | |
| state_id | No | State id; lists its cities |