Combine round-trip fare
combine_roundtrip_fareComputes the combined round-trip fare for a chosen onward + return flight pair, reprices it, and returns the total plus a Paytm booking link. Used by the flight results card when both legs are selected.
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": {
"onward_offer_token": "<onward_offer_token>",
"return_offer_token": "<return_offer_token>"
},
"name": "combine_roundtrip_fare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onward_offer_token | Yes | ||
| return_offer_token | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxes | No | ||
| currency | No | INR | |
| bookingUrl | No | ||
| checkinUrl | No | ||
| onwardBase | No | ||
| returnBase | No | ||
| displayFare | No |