get_traffic_conditions
Check real-time traffic between two locations. Get travel time, delay estimates, and congestion level to plan your route.
Instructions
Analyze real-time traffic conditions between origin and destination. Returns duration in traffic, delay estimates, and congestion level.
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_traffic_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Starting location (address or 'lat,lng') | |
| destination | Yes | Ending location (address or 'lat,lng') | |
| departure_time | No | ISO 8601 timestamp for departure (defaults to now) | |
| traffic_model | No | Traffic prediction model | best_guess |