Get trip
get_tripRetrieve a vehicle run's stop-by-stop realtime schedule, including planned and actual times, delays, and platforms, to check whether a train or bus is on time.
Instructions
Stop-by-stop realtime schedule of one vehicle run on one day: origin and destination, plus every stop in between in stopovers, with planned/realtime times, delays and platforms. Covers the whole run, not just the leg the tripId came from (an ICE taken from Berlin may start in Hamburg). Use it to check whether a train or bus is on time. A trip id encodes its date: take it from a board or journey of the wanted day, never edit it. Times are ISO 8601 in each station's local time with its UTC offset; stops carry their IANA tz (none = German time). Delays in seconds (positive = late). Planned values equal to realtime ones and empty fields are omitted. Results: JSON, then "Hints:" (situational advice; attribution, credit once).
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": {
"tripId": "<tripId>"
},
"name": "get_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripId | Yes | `tripId` from a plan_journey leg or a board entry. |