get-directions
Calculate travel routes between two locations by specifying origin, destination, and travel mode (driving, walking, bicycling, transit) for efficient navigation.
Instructions
Get directions between two locations
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination | Yes | Ending location (address or lat,lng) | |
mode | No | Travel mode | |
origin | Yes | Starting location (address or lat,lng) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"destination": {
"description": "Ending location (address or lat,lng)",
"type": "string"
},
"mode": {
"description": "Travel mode",
"enum": [
"driving",
"walking",
"bicycling",
"transit"
],
"type": "string"
},
"origin": {
"description": "Starting location (address or lat,lng)",
"type": "string"
}
},
"required": [
"origin",
"destination"
],
"type": "object"
}