Openrouteservice Directions
openrouteservice_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.
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": {
"profile": "driving-car",
"coordinates": [
[
8.681495,
49.41461
],
[
8.687872,
49.420318
]
],
"instructions": true
},
"name": "openrouteservice_directions"
}
}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 |
|---|---|---|---|
| bbox | No | ||
| type | No | format geojson: FeatureCollection | |
| routes | No | format json: one entry per route | |
| features | No | format geojson: route features with geometry and properties.summary/segments | |
| metadata | No | Query echo, engine version, attribution |