Direct trains between stations
train_connectionsFind direct trains between two Finnish stations with departure and arrival times, live delays, tracks, and travel time to plan a journey.
Instructions
Direct trains from one Finnish station to another, with departure/arrival times, live delays, tracks and travel time.
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>",
"to": "<to>"
},
"name": "train_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival station code or name | |
| date | No | Travel date YYYY-MM-DD (default: upcoming trains from now). For today, trains that have already left are left out unless 'after' is given. | |
| from | Yes | Departure station code or name | |
| after | No | Only trains departing at or after this local time (HH:MM). Implies today if no date. | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| date | Yes | YYYY-MM-DD, or "upcoming" | |
| from | Yes | ||
| connections | Yes |