Get Directions
geo.navigation.routeRetrieve turn-by-turn directions for driving, walking, cycling, or transit between two locations, with distance and travel time.
Instructions
Get turn-by-turn driving, walking, cycling, or transit directions between two points with distance and time (Geoapify/OSM)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin_lat | Yes | Start point latitude (e.g. 40.7128) | |
| origin_lon | Yes | Start point longitude (e.g. -74.0060) | |
| dest_lat | Yes | Destination latitude (e.g. 48.8566) | |
| dest_lon | Yes | Destination longitude (e.g. 2.3522) | |
| mode | No | Travel mode: drive, walk, bicycle, or transit. Default: drive. | |
| lang | No | Turn-by-turn instruction language (e.g. "en", "de"). Default: English. | |
| units | No | Distance units: metric (km) or imperial (miles). Default: metric. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |