google_maps_directions
Get directions between two locations using Google Maps. Supports driving, walking, bicycling, and transit modes for route planning.
Instructions
Get directions between two points via Google Maps. Supports driving, walking, bicycling, and transit modes.
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "google_maps_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Starting point (address or lat,lng) | |
| destination | Yes | Destination (address or lat,lng) | |
| mode | No | Travel mode (default: driving) | |
| language | No | Language for instructions |