Tools / route.plan
Driving route
route.plan
Driving distance, duration and turn-by-turn steps through two to ten stops.
LocationLaunch set2 units per call24 h cacheMCP: route_planv1.0.0
When to use it
Use for drive distance and time between places, or a multi-stop road trip. Gives road-network estimates without live traffic. Walking and cycling are not offered yet.
Input
| Field | Type | Description |
|---|---|---|
stops * | array of object | Ordered stops. Each is {location} or {latitude, longitude}. |
* required
Output
Returns data with: stops: [{name, latitude, longitude}], distance_m, duration_s, legs: [{from, to, distance_m, duration_s, steps: [{road, instruction, distance_m, duration_s}]}], steps_truncated.
Request
curl -X POST https://agentops.tools/v1/route.plan \
-H 'content-type: application/json' \
-d '{"stops":[{"location":"Berlin"},{"location":"Munich"}]}'Over MCP the tool is named route_plan. Over A2A its skill id is route.plan. Same input, same envelope.
Try it
Counts against your rate limit.
Sources
Routing by OSRM; map data © OpenStreetMap contributors (ODbL)
Notes
- Uses OSRM's public demo server, which is fair-use. A self-hosted router is planned for scale.