Directions
maps_directionsProvides travel directions between two locations, using Google Maps when an API key is available, otherwise computing straight-line distance.
Instructions
Directions (google with key, else straight-line km).
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": "maps_directions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | driving | |
| origin | Yes | ||
| destination | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||