View trip itinerary
trip_detailsGet detailed information about a specific trip. The text response includes the trip summary plus a chronological list of every segment (flights, hotels, activities, etc.) with each segment_id, so you can chain directly to segment_details, segment_update, segment_delete, or flight_status_for_segment without another search. Also includes traveler count. For full per-segment details, use segment_details with the returned segment_id. Use sections and segment_types to filter the response.
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": "trip_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | The unique identifier of the trip to fetch details for | |
| sections | No | Optional: filter which sections to include in the response. Values: 'segments', 'travelers'. Default: all sections. | |
| segment_types | No | Optional: filter segments by type. Values: Flight, Lodging, CarRental, Train, Transfer, Ferry, EventTicket, Parking, Activity, Note, Poll. Default: all types. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | No | ||
| canEdit | No | ||
| capabilities | No | ||
| contractVersion | No |