Geocode
geocodeConvert addresses into latitude and longitude or reverse coordinates into readable place names, returning location data and display names for mapping and routing tasks.
Instructions
Forward-geocode an address or reverse-geocode lat/lng using the configured provider (Nominatim by default, rate-limited to 1 request per second). Returns lat, lng and a display name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in decimal degrees for reverse geocoding (use with lng) | |
| lng | No | Longitude in decimal degrees for reverse geocoding (use with lat) | |
| limit | No | Maximum number of forward-geocoding results (1-10). Ignored for reverse | |
| address | No | Address or place name for forward geocoding. Omit when passing lat/lng |