get_coordinates_from_location
Retrieve latitude and longitude coordinates for a city or administrative area by name. Use it when you need lat/lon data for weather or mapping tasks.
Instructions
Retrieve latitude and longitude for a given city or administrative area name. Use this when you need coordinates (lat/lon) for a place.
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": "get_coordinates_from_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default 5) | |
| query | Yes | City or administrative area name, state code (optional), country code (optional). E.g. 'London', 'New York, NY, US' |