commute_time
Minutes from home (from) to work (to), same model as the Dojazdomat map (czas dojazdu z domu do pracy). transit: door to door by public transport plus walking, weekday 7-9 average, with the nearest stops at both ends; bike, walk: OpenStreetMap paths (bike +2 min); car: rush-hour driving. minutes is null when unreachable (over 90 min).
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": {
"from_lat": "<from_lat>",
"from_lon": "<from_lon>",
"to_lat": "<to_lat>",
"to_lon": "<to_lon>"
},
"name": "commute_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | transit (default, weekday morning public transport + walking), bike, walk or car (rush hour) / komunikacja, rower, pieszo, auto | transit |
| to_lat | Yes | Latitude, WGS84, 51.98-52.48 (Warszawa and commuter belt) | |
| to_lon | Yes | Longitude, WGS84, 20.62-21.48 (Warszawa and commuter belt) | |
| from_lat | Yes | Latitude, WGS84, 51.98-52.48 (Warszawa and commuter belt) | |
| from_lon | Yes | Longitude, WGS84, 20.62-21.48 (Warszawa and commuter belt) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||