Get flight offer
get_flight_offerFull details of one offer from search_flights. Example: {"id":"off_8f2c1a"}. Expires ~20 min after the search (offer_expired). The id also works as offerId, offer_id or offer (id wins).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_flight_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Offer id from search_flights (offers[].id), valid about 20 minutes. Or send offerId, offer_id or offer. | |
| offer | No | Same as id: the offer id, or the offer object from search_flights. | |
| offerId | No | Same as id. Use id; offerId is accepted too. | |
| offer_id | No | Same as id. Use id; offer_id is accepted too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |