Driving route
routeDriving route between two points (OSRM over OpenStreetMap): line geometry, distance in metres and duration in seconds.
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": {
"from_latitude": "<from_latitude>",
"from_longitude": "<from_longitude>",
"to_latitude": "<to_latitude>",
"to_longitude": "<to_longitude>"
},
"name": "route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_latitude | Yes | Latitude in degrees (WGS84) | |
| to_longitude | Yes | Longitude in degrees (WGS84) | |
| from_latitude | Yes | Latitude in degrees (WGS84) | |
| from_longitude | Yes | Longitude in degrees (WGS84) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| type | No | FeatureCollection | |
| features | Yes | ||
| geospark | No |