Find a city (coordinates, population, country)
city_searchFind a city (coordinates, population, country). Search places by name. Fast city-level geocoding for 171,000 places worldwide: reverse geocoding (coordinates to nearest town, region, country and time zone), place search by name and nearby places within a radius. No rate-limited upstream.
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": {
"q": "<q>"
},
"name": "city_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | City or town name (e.g. Salamanca) | |
| limit | No | 1-50 (e.g. 10) | |
| country | No | Optional ISO country code filter |