Directions
directions"Directions from A to B" / "how long does it take to drive from X to Y" / "how far is [A] from [B]" / "walking / cycling / driving directions" / "navigation between points" / "shortest route" — turn-by-turn routing between two or more coordinates. Returns geometry, distance (meters), duration (seconds), voice + banner instructions, and alternatives. Profile: driving, driving-traffic, walking, or cycling. Backed by Mapbox's commercial-grade traffic data and global road network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| profile | No | ||
| language | No | ||
| overview | No | ||
| geometries | No | ||
| annotations | No | ||
| coordinates | Yes | ||
| alternatives | No | ||
| voice_instructions | No | ||
| banner_instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||