Open-Meteo Geocoding: search
geocode_search[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.
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": {
"name": "<name>"
},
"name": "geocode_search"
}
}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 |