search_location
Search for any city or location name to get matching coordinates. Type a query and receive a list of locations with country, latitude, and longitude for weather lookups.
Instructions
Search for a location by name to get coordinates.
Args: query: City or location name to search for (e.g., "Prague", "New York")
Returns: JSON list of matching locations with name, country, latitude, longitude
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": "search_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |