Generate a route map
generate_route_mapCompute a walking/driving route between two places and generate a map with it overlaid. Both endpoints are pinned automatically — do not also call generate_markers_map for them. Example: 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 | 'walking' (default) or 'driving'. | |
| 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. |