Get one flight offer
egf_get_offerReturns one fare from a recent flight search, by its offer_id: the per-person price, the flights, a booking link and the time until which the offer_id is valid. Works for 30 minutes after the search.
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_id": "<offer_id>"
},
"name": "egf_get_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | offer_id of a fare, exactly as the flight search returned it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Per person, in currency. | |
| return | No | Local return departure, ISO 8601 (YYYY-MM-DDTHH:MM). | |
| carriers | Yes | ||
| currency | Yes | ISO 4217 code. | |
| offer_id | Yes | ||
| departure | No | Local departure, ISO 8601 (YYYY-MM-DDTHH:MM). | |
| stops_out | No | ||
| stops_back | No | ||
| booking_url | Yes | Absolute https link where the traveller books this fare. | |
| valid_until | Yes | ISO 8601 date-time. After it, search again: the price is live. | |
| flight_numbers | Yes |