Ссылка на покупку
get_booking_linkСсылка на покупку выбранного варианта из search_flights (на сайте агентства или авиакомпании). Действует ~15 минут после поиска; если устарела — вернётся ссылка на новый поиск на lastbilet.ru. Вызывай, когда пользователь выбрал вариант.
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": {
"search_id": "<search_id>",
"offer_id": "<offer_id>"
},
"name": "get_booking_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | ||
| search_id | Yes |