commute_time
Returns the public-transport journey time in minutes between two Swiss places, using the national timetable.
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": "<from>"
},
"name": "commute_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Destination as a place or station name. | Zürich HB |
| from | Yes | Origin as a place or station name, e.g. "Uster". Not a postcode on its own. |