Get booking link
get_booking_linkRead-onlyIdempotent
Booking link for an offer: bookingLink is a lowest.flights redirect that picks the best bookable partner (Kiwi.com, Aviasales, Trip.com) and attributes the click to your agent; alternatives lists other partners. Includes self-transfer and cached-price warnings to show the traveller. Example: {"id":"off_8f2c1a"}.
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": {
"id": "<id>"
},
"name": "get_booking_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Offer id returned by search_flights (offers[].id). Valid for about 30 minutes. |