trip_transport_add
Add a transport item (train, bus, taxi, tube, ferry, walk) or flight to a trip. ALWAYS use this instead of trip_item_add for transport. Both origin and destination are required, ensuring routes display correctly on the map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date of travel (YYYY-MM-DD) | |
| notes | No | Additional notes | |
| status | No | Booking status | IDEA |
| tripId | Yes | Trip ID | |
| currency | No | Currency code (e.g., GBP, USD, EUR) | |
| operator | No | Transport operator (e.g., "GWR", "British Airways", "Eurostar") | |
| timezone | No | IANA timezone for departure time (e.g., "Europe/London"). Defaults to trip timezone. Auto-detected from origin coords when omitted. | |
| bookingUrl | No | Booking URL | |
| arrivalDate | No | Arrival date (YYYY-MM-DD) for overnight or multi-day transport. Must be >= date. Omit for same-day journeys. | |
| arrivalTime | No | Arrival time (HH:MM) | |
| description | No | Additional details (e.g., "Direct train, ~1 hour journey") | |
| timezoneEnd | No | IANA timezone for arrival time (e.g., "America/New_York"). Defaults to departure timezone. Auto-detected from destination coords when omitted. Only needed when arrival is in a different timezone. | |
| costEstimate | No | Estimated cost | |
| departureTime | No | Departure time (HH:MM) | |
| transportType | Yes | Type of transport | |
| linked_item_id | No | Optional ID of the destination trip item this transport links TO. Links the transport to its destination for deterministic ordering and stale detection. | |
| originLocation | Yes | Departure location name (e.g., "London Paddington Station"). Will be geocoded automatically. | |
| costIsPerPerson | No | Is cost per person? | |
| bookingReference | No | Booking reference | |
| destinationLocation | Yes | Arrival location name (e.g., "Oxford Station"). Will be geocoded automatically. |