Get flight review
get_flight_reviewShows the Paytm flight details / review page for a selected fare: itinerary summary, fare breakdown (base, taxes, total), refundability, and a Book on Paytm Checkin link. The review call refreshes the fare before handoff. It is the step between choosing a fare and booking: requests to continue, review, see flight details for a chosen fare, or book after picking a fare in get_fare_family land here, including the fare-family Continue CTA, which posts a new user turn naming this tool. The review page comes before any handoff to Paytm. Input: offer_token from search_flights / get_fare_family (the long signed token or that flight's short offerRef; a short value is valid, not an internal id), matched exactly. A round trip also takes return_offer_token. Optional: price and fare_name of the branded fare the traveller picked (and return_price / return_fare_name on a round trip), used verbatim when the widget or the user named them, so review reprices THAT product (Saver vs Flexi have different Paytm ids). A review / continue / book request that names no fare or price still works from the offer_token already in hand, with price omitted: the tool fetches the recommended (best-value) fare from the fare family and reviews that. The total comes from this call, so no new search or fare-family call is needed to settle on a fare.
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": {
"offer_token": "<offer_token>"
},
"name": "get_flight_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Selected onward fare in INR from the fare-family Continue tap. Omit when the user asked to review without picking a fare — the tool then uses the recommended branded fare. | |
| fare_name | No | Optional branded-fare name (Saver, Flexi, …) as a second match key when price is missing or no longer live. | |
| trip_type | No | "oneway" (default) or "roundtrip". Set automatically when return_offer_token is present. | oneway |
| offer_token | Yes | Offer token from search_flights / get_fare_family — either the long signed token or the short `offerRef`. | |
| return_price | No | Selected return fare in INR (round trip only). | |
| return_fare_name | No | Optional return-leg fare name. | |
| return_offer_token | No | Optional return-leg token for a round trip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| cabin | No | ||
| notes | No | ||
| stops | No | ||
| taxes | No | ||
| total | No | ||
| origin | No | ||
| return | No | ||
| airline | No | ||
| logoUrl | No | ||
| currency | No | INR | |
| duration | No | ||
| fareName | No | ||
| perAdult | No | ||
| tripType | No | ||
| fareClass | No | ||
| arriveTime | No | ||
| bookingUrl | No | ||
| checkinUrl | No | ||
| departDate | No | ||
| departTime | No | ||
| inclusions | No | ||
| originCity | No | ||
| refundable | No | ||
| taxBreakUp | No | ||
| airlineCode | No | ||
| destination | No | ||
| flightNumber | No | ||
| stopAirports | No | ||
| convenienceFee | No | ||
| refundableText | No | ||
| returnFareName | No | ||
| arriveDayOffset | No | ||
| destinationCity | No | ||
| handBaggageOnly | No |