search_cities
Find cities worldwide by name to access population and country data from a database of 13.4 million locations.
Instructions
Search for cities worldwide by name. Returns matching cities from a database of 13.4M cities with population and 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": {
"query": "<query>"
},
"name": "search_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | City name or partial name to search for (min 2 characters) | |
| limit | No | Maximum results to return (1-50, default 20) |