generate_route_map
Create a route map showing walking or driving directions between two places, with both endpoints pinned automatically for clear visual navigation.
Instructions
Compute a walking/driving route between two places and generate a map with it overlaid. Both endpoints are pinned on the map automatically — do not also call generate_markers_map for them.
Example: generate_route_map(from="Tokyo Station", to="Tokyo Tower", mode="walking")
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": "generate_route_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Route end. Place name to geocode. | |
| from | Yes | Route start. Place name to geocode. | |
| mode | No | Default 'walking'. | walking |
| name | No | Optional: display name for the map. If omitted, the server derives one automatically from place/route. | |
| place | No | Optional: place to center the map on. If omitted, the center is computed automatically from the route. |