Directions
directions"Directions from A to B" / "how far is [X] from [Y]" / "hiking / cycling / wheelchair / walking route" / "truck routing" / "HGV directions" / "driving route" — turn-by-turn routing between coordinates with profile-specific routing. Profiles: driving-car, driving-hgv (trucks), foot-walking, foot-hiking, cycling-regular / mountain / road / electric, wheelchair. Returns geometry, distance, duration, turn-by-turn instructions, elevation. Uses OpenStreetMap data via OpenRouteService. Use for hiking/biking/wheelchair/truck cases where Mapbox/Google don't have the right profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json (default) | geojson | gpx | |
| profile | No | ||
| coordinates | Yes | [[lon, lat], …] | |
| instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||