WMO City Search
wmo-weather.reference.city_searchSearch the WMO World Weather Information Service directory of ~2,600 cities by city or country name (case-insensitive partial match). Returns each match's WMO city ID, needed by wmo-weather.forecast and wmo-weather.climate_normals. Example: query="Tokyo" or query="Argentina". Data: worldweather.wmo.int, no auth required.
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": "wmo-weather.reference.city_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matching cities to return (default 20, max 50). | |
| query | Yes | City or country name to search for (case-insensitive partial match), e.g. "Tokyo", "Kabul", or "Argentina". Matches against ~2,600 cities in the WMO city directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |