Expand one itinerary
get_itinerary_detailsRetrieve per-segment details for a specific itinerary from a previous search, including operating flight numbers, booking class, fare basis codes, and aircraft type.
Instructions
Show per-segment detail for one itinerary from a previous search: operating flight numbers, booking class (RBD), fare basis codes, and aircraft type. Reuses the earlier search session, so it is fast.
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": {
"searchId": "<searchId>",
"rank": "<rank>"
},
"name": "get_itinerary_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rank | Yes | Which itinerary — the #N shown in the search results. | |
| searchId | Yes | Search ID from search_flights, e.g. "s1". |