trip_search
Search Austrian train connections between stations using names or IDs, with flexible departure/arrival times, direct-only options, and detailed schedules including duration and changes.
Instructions
Search train connections between two OeBB stations.
Provide station IDs or names for departure and arrival stations.
Supports future trip planning via time/time_mode parameters.
Returns connections with departure/arrival times, duration, changes, and legs.
Args:
from_station_id: Departure station ID (e.g. "1190100")
from_station_name: Departure station name (e.g. "Wien Hbf")
to_station_id: Arrival station ID (e.g. "8100002")
to_station_name: Arrival station name (e.g. "Salzburg Hbf")
max_connections: Maximum connections to return (default 5)
time: ISO 8601 time (e.g. "2026-04-15T08:00:00"), defaults to now
time_mode: "departure" (default) or "arrival"
direct_only: Only show direct connections without changes (default false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | ||
| time_mode | No | departure | |
| direct_only | No | ||
| to_station_id | No | ||
| from_station_id | No | ||
| max_connections | No | ||
| to_station_name | No | ||
| from_station_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |