routes_directions

routes_directions

The turn-by-turn route between two places, with the distance for each instruction. Use ETA instead when only the travel time is wanted — this asks the provider for more and costs more

3 credits per call, from your balance — or paid per request in USDC with no account at all.

Runs on Routes — How to get from one place to another — time, traffic and turn-by-turn.

Arguments

NameTypeWhat it is
fromstringWhere the journey starts, e.g. 'King's Cross, London' (or give from_lat/from_lon)
tostringWhere the journey ends, e.g. 'Heathrow Airport'
from_latnumberOptional start latitude, if already known
from_lonnumberOptional start longitude, if already known
to_latnumberOptional end latitude, if already known
to_lonnumberOptional end longitude, if already known
modestringHow to travel: drive (default), walk, cycle or transit
depart_atstringWhen the journey starts, as RFC3339. Defaults to now
arrive_bystringBe there by this time, as RFC3339. Cannot be combined with depart_at

Calling it

Three doors onto the same method. MCP is what an agent speaks, REST is what a program speaks, and the answer is identical.

{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"routes_directions"}}

Try it in the playground.