get_osrm_route
Calculate optimal travel routes with turn-by-turn directions for driving, walking, or cycling between multiple coordinates.
Instructions
Get detailed route with turn-by-turn directions using OSRM
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": {
"coordinates": "<coordinates>"
},
"name": "get_osrm_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coordinates | Yes | Array of [longitude, latitude] coordinates | |
| profile | No | Routing profile (default: driving) | |
| alternatives | No | Return alternative routes | |
| steps | No | Include turn-by-turn instructions (default: true) | |
| geometries | No | Geometry format (default: polyline) | |
| overview | No | Geometry overview level (default: full) | |
| language | No | Language for instructions (ISO 639-1) |