geocode
Convert addresses or place names to coordinates (forward) or coordinates to street addresses (reverse) using OpenStreetMap Nominatim. Supports worldwide location enrichment and validation.
Instructions
Forward and reverse geocoding via OpenStreetMap Nominatim. Forward: convert an address or place name to latitude/longitude, bounding box, and OSM metadata. Reverse: convert lat/lon to a structured street address. Supports any location worldwide. Useful for location enrichment, address validation, coordinate lookup, and building location-aware agent flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Address or place name to geocode (forward lookup). Example: '1600 Pennsylvania Ave Washington DC' or 'Eiffel Tower Paris'. | |
| lat | No | Latitude for reverse geocoding. Requires 'lon' also. | |
| lon | No | Longitude for reverse geocoding. Requires 'lat' also. | |
| limit | No | Max results for forward geocode (default 3, max 10). Ignored for reverse. |