Open-Meteo Geocoding: search
geocode_searchConvert a city or place name into latitude and longitude coordinates to prepare for weather forecasts, returning up to 10 ranked candidates with country, region, and timezone.
Instructions
[geocode] Turn a city or place name into coordinates. Use this before weather_forecast, which needs latitude/longitude. A name can match several places, so up to limit candidates are returned, best match first, each with name, country, region, latitude, longitude and timezone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Place name, e.g. 'Shanghai' | |
| limit | No | Max candidate places to return (1-10) | |
| language | No | Result language, e.g. en, zh | en |