get_itinerary_details
Get detailed information about a specific flight itinerary. Returns comprehensive details including:
Complete flight segments with airline, flight number, times, and aircraft type
Departure and arrival terminals (if available)
Baggage allowance (checked bags, carry-on, personal item limits)
Layover information (duration, airport, overnight status)
Fare rules (refundability, change policy, fees)
Price breakdown (base fare, taxes, fees)
Booking URL for purchase
Use this when user asks for:
'Tell me more about this flight'
'What are the baggage allowances?'
'Is this flight refundable?'
'Show me the layover details'
'What terminals will I use?'
WIDGET NOTE: If this tool's results are displayed in a visual widget alongside your response, do NOT repeat the itinerary details in text format. Instead, briefly confirm the details are shown. Do NOT prompt users with instructions like 'say show details for RefNo X' — the widget already displays the details interactively. Only use the formatting instructions below when NO visual widget is rendering the results.
PRESENTATION FORMATTING (MANDATORY):
Present detailed information in well-formatted sections. Group by flight leg, segment, and then rules/baggage.
CRITICAL: ALWAYS display full names with codes for better readability:
Airports: Use format 'City Name (CODE)' - Example: 'Colombo (CMB)', 'London Heathrow (LHR)', 'Dubai (DXB)'
Airlines: Use format 'Airline Name (CODE)' - Example: 'Emirates (EK)', 'British Airways (BA)', 'Flydubai (FZ)'
NEVER display codes alone (CMB, DXB, EK, etc.) - users don't recognize them
ALWAYS include both the full name and code in parentheses
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchId | Yes | The searchId from a previous flight search response (found in the 'searchId' field of the JSON response). Used to retrieve cached search results. | |
| itineraryId | Yes | The itineraryId of the specific flight offer to get details for (found in the 'itineraryId' field of each flight offer in the search results, also displayed as 'RefNo' in result tables). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| airline | Yes | ||
| bookingUrl | Yes | ||
| cabinClass | Yes | ||
| passengers | Yes | ||
| airlineCode | Yes | ||
| itineraryId | Yes | ||
| priceBreakdown | Yes | ||
| baggageAllowance | No |