mapbox_get_directions
Get turn-by-turn directions between two or more locations using Mapbox, with support for driving, walking, cycling, and traffic-aware routes.
Instructions
Get turn-by-turn directions between two or more locations using Mapbox.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"access_token": "<access_token>",
"coordinates": "<coordinates>"
},
"name": "mapbox_get_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Include turn-by-turn steps | |
| profile | No | Routing profile (default: mapbox/driving) | |
| language | No | Language for instructions | |
| overview | No | Route overview geometry detail | |
| coordinates | Yes | Semicolon-separated lng,lat pairs (e.g. -122.4194,37.7749;-118.2437,34.0522) | |
| access_token | Yes | Mapbox access token | |
| alternatives | No | Return alternative routes |