Find a city
find_cityLooks up a city name (query, with the region or country when given; limit 1 to 10, default 5) in AstroProcessor's city dataset: candidates, the cities it matches, most populous first, each with its full label, coordinates, time zone and population, or an empty list when nothing matches. A plain name lookup that reads no chart; cities along the user's AstroMap lines are search_astromap_cities'. A city's label is accepted as the place of the other tools. Used when a city name is unclear, or after a tool answered place_ambiguous or place_not_found. Each call counts toward one metered message (unlimited on a paid plan; on the Free plan a daily free message, then credits, as get_balance shows) and toward the account's per-minute and per-hour call limits; a call refused for either returns an error result, runs nothing and charges nothing.
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": "find_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many cities to return, 1 to 10. Default 5. | |
| query | Yes | REQUIRED. A city name as the user said it, with the region or country when they gave one ("Lisbon Portugal", "Valencia Spain", "Springfield Illinois"); a city name, not coordinates. A name that matches several cities is refused with the candidates (place_ambiguous). |