list_cities_by_country
Retrieve cities from any country with population filters and sorting options. Access 13.4M global cities to find locations by country, minimum population, or alphabetical order.
Instructions
List cities in a specific country, sorted by population or name. Supports minimum population filter. Covers 13.4M cities globally.
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>"
},
"name": "list_cities_by_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Country name or slug (e.g. "brazil", "Japan", "united-states") | |
| min_population | No | Minimum population filter (e.g. 1000000 for cities above 1M) | |
| limit | No | Maximum results to return (1-50, default 25) | |
| sort | No | Sort order: "population" (default, descending) or "name" (ascending) | population |