Get route
get_routeDistance and travel time through stops in order, per leg and in total, using OpenStreetMap routing (OSRM). Pass the waypoints from parse_map_link.
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": {
"waypoints": "<waypoints>"
},
"name": "get_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default driving | |
| waypoints | Yes |