get_directions_with_traffic
Get directions with traffic-aware travel times. Input origin and destination as coordinates to receive predictive ETA based on current traffic conditions.
Instructions
Get directions with real-time traffic-aware ETA. Returns predictive travel time based on current traffic conditions.
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": "get_directions_with_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Start point as 'lat,lng' | |
| profile | No | Travel mode (default: driving) | |
| destination | Yes | End point as 'lat,lng' |