lookupCity
Find city IDs for weather data by searching with city names, coordinates, or location identifiers. Use the returned ID to access detailed weather information through other tools.
Instructions
Look up city information by name, ID, or coordinates. Returns city ID that can be used with other weather tools.
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": {
"location": "<location>"
},
"name": "lookupCity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | The location to look up (city name, coordinates, etc.). Examples: 'London', 'New York', '39.9,116.3' | |
| options | No | Lookup configuration options, all fields are optional |