calculate_route_safety_factors
Analyze route safety by evaluating traffic congestion, road types, and speed limits to identify potential risk factors.
Instructions
Calculate safety assessment for a route. Analyzes traffic congestion, road types, and speed limits to identify risk factors.
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": "calculate_route_safety_factors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Starting location | |
| destination | Yes | Ending location | |
| departure_time | No | ISO 8601 timestamp for departure (defaults to now) | |
| traffic_model | No | Traffic prediction model (defaults to pessimistic for safety analysis) | pessimistic |