Directions
get_directionsDriving, walking or cycling directions between places: distance, travel time and turn-by-turn steps, with a link that opens the route on Mappit's map. Each end can be a town, a business or landmark ("Pike Place Market"), a street address, or "lat,lon". Routing © openrouteservice.org by HeiGIT; map data © OpenStreetMap contributors.
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": "<from>",
"to": "<to>"
},
"name": "get_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Where it ends, in any of the same forms. | |
| via | No | Stops on the way, in order (at most 8), in any of the same forms. | |
| from | Yes | Where the trip starts: a place name, a business or landmark, a street address, or "lat,lon". | |
| mode | No | One of: driving (default), walking, cycling. | |
| steps | No | How many turn-by-turn steps to return: default 25, at most 80; 0 for none. |