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.
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 |