Mapbox Directions
mapbox_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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coordinates": [
[
-122.4194,
37.7749
],
[
-118.2437,
34.0522
]
]
},
"name": "mapbox_directions"
}
}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 | |||