Maps Directions
maps_directions"Google Maps directions from A to B" / "transit / public-transport directions" / "bus / subway / train route" / "best way to get from [X] to [Y]" — turn-by-turn directions via Google Maps. Modes: driving, walking, transit (bus/subway/train), bicycling. Requires Google Maps API key. PREFER over Mapbox/OpenRouteService specifically for public-transit routing — Google has the best transit data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Travel mode: driving, walking, bicycling, transit (default: driving) | |
| origin | Yes | Starting point (address or "lat,lng") | |
| _apiKey | Yes | Google Maps API key | |
| destination | Yes | End point (address or "lat,lng") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | No | Array of possible routes | |
| status | No | Status of the directions request |