Analyze commute
analyze_commuteCompare car, walking, and cycling commutes between home and work with distances, durations, and turn-by-turn directions to inform your travel choice.
Instructions
Perform a detailed commute analysis between home and work locations, comparing multiple transportation modes with distances, durations and turn-by-turn directions.
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": {
"home_latitude": "<home_latitude>",
"home_longitude": "<home_longitude>",
"work_latitude": "<work_latitude>",
"work_longitude": "<work_longitude>"
},
"name": "analyze_commute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | No | Transportation modes to analyze (options: "car", "foot", "bike") | |
| depart_at | No | Optional departure time (format: "HH:MM") for time-sensitive routing | |
| home_latitude | Yes | Home location latitude (decimal degrees) | |
| work_latitude | Yes | Workplace location latitude (decimal degrees) | |
| home_longitude | Yes | Home location longitude (decimal degrees) | |
| work_longitude | Yes | Workplace location longitude (decimal degrees) |