Create Transportation
tripsy_transportations_createCreate a Tripsy transportation for point-to-point movement. Timed values are always UTC ISO-8601 timestamps; set departure_timezone and arrival_timezone to each endpoint's local IANA timezone. MCP clients displaying transportations must convert departure_at with departure_timezone and arrival_at with arrival_timezone before formatting local endpoint dates/times. Use transportation_type for the segment kind and include departure/arrival names, addresses, latitudes, and longitudes when known. Store provider-issued reservation, confirmation, or booking codes in provider_reservation_code; use transport_number for the flight, train, bus, or service number. For flights, use transportation_type airplane, set departure_description and arrival_description to airport IATA codes, include the airports' departure/arrival latitudes and longitudes, and omit name unless the user provided one. For transfer activities, use transportation_type transfer and fill both departure and arrival locations completely. Supported transportation_type slugs: airplane, bike, bus, car, roadtrip, cruise, ferry, motorcycle, subway, train, transfer, walk. Labels: airplane = Flight; bike = Bike; bus = Bus; car = Car Rental; roadtrip = Drive / Road Trip; cruise = Cruise; ferry = Ferry; motorcycle = Motorcycle; subway = Subway; train = Train; transfer = Transfer; walk = Walk. Use only these exact slugs; custom categories are not supported for transportations. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.
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": {
"trip_id": "<trip_id>"
},
"name": "tripsy_transportations_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional raw transportation fields. Prefer the typed top-level fields when possible; values here are merged first. Supported transportation_type slugs: airplane, bike, bus, car, roadtrip, cruise, ferry, motorcycle, subway, train, transfer, walk. Labels: airplane = Flight; bike = Bike; bus = Bus; car = Car Rental; roadtrip = Drive / Road Trip; cruise = Cruise; ferry = Ferry; motorcycle = Motorcycle; subway = Subway; train = Train; transfer = Transfer; walk = Walk. Use only these exact slugs; custom categories are not supported for transportations. | |
| name | No | Transportation segment name. For flights, omit name unless the user provided one. | |
| notes | No | Optional notes. | |
| price | No | Optional price. | |
| company | No | Carrier, operator, or transfer company. | |
| trip_id | Yes | Tripsy trip id. | |
| currency | No | ISO currency code for price, such as EUR or USD. | |
| arrival_at | No | UTC ISO-8601 arrival timestamp when known. Timed values are always UTC; MCP clients must convert this value to arrival_timezone before displaying the local arrival date/time. | |
| description | No | Optional transportation description. | |
| departure_at | No | UTC ISO-8601 departure timestamp when known. Timed values are always UTC; MCP clients must convert this value to departure_timezone before displaying the local departure date/time. | |
| arrival_address | No | Full arrival address. Required for transfer activities when known. | |
| arrival_latitude | No | Arrival latitude. Required for flight airports and transfer activities when known. | |
| arrival_timezone | No | Arrival location IANA timezone. MCP clients must use this timezone to convert UTC arrival_at before displaying the local arrival date/time. | |
| transport_number | No | Flight, train, bus, or booking number when relevant. | |
| arrival_longitude | No | Arrival longitude. Required for flight airports and transfer activities when known. | |
| departure_address | No | Full departure address. Required for transfer activities when known. | |
| departure_latitude | No | Departure latitude. Required for flight airports and transfer activities when known. | |
| departure_timezone | No | Departure location IANA timezone. MCP clients must use this timezone to convert UTC departure_at before displaying the local departure date/time. | |
| arrival_description | No | Arrival location name or description. For flights, use the arrival airport IATA code such as JFK or FCO. For transfers, include the real place name. | |
| departure_longitude | No | Departure longitude. Required for flight airports and transfer activities when known. | |
| transportation_type | No | Supported transportation type slug. For flights, use airplane. For transfer activities, use transfer. Supported transportation_type slugs: airplane, bike, bus, car, roadtrip, cruise, ferry, motorcycle, subway, train, transfer, walk. Labels: airplane = Flight; bike = Bike; bus = Bus; car = Car Rental; roadtrip = Drive / Road Trip; cruise = Cruise; ferry = Ferry; motorcycle = Motorcycle; subway = Subway; train = Train; transfer = Transfer; walk = Walk. Use only these exact slugs; custom categories are not supported for transportations. | |
| vehicle_description | No | Vehicle description for cars, transfers, and roadtrips. | |
| departure_description | No | Departure location name or description. For flights, use the departure airport IATA code such as JFK or FCO. For transfers, include the real place name. | |
| provider_reservation_code | No | Provider-issued reservation, confirmation, or booking code for this transportation segment. Use this for booking/confirmation codes; use transport_number for the flight, train, bus, or service number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tripsy API response payload or tool-specific structured data. | |
| summary | Yes | Short human-readable summary of the Tripsy operation result. | |
| status_code | No | HTTP status code returned by the Tripsy API when the tool called the API. |