Prepare a group flight quote request
egf_prepare_group_quoteChecks a group flight enquiry for 10 or more seated travellers and returns the exact brief that would go to a human specialist, with a confirmation_token valid for 15 minutes. Nothing is sent.
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": {
"origin": "<origin>",
"destination": "<destination>",
"departure_date": "<departure_date>",
"adults": "<adults>",
"email": "<email>",
"phone": "<phone>"
},
"name": "egf_prepare_group_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Anything that shapes the fare: what the group is (school trip, wedding, sports team, conference), baggage or equipment needs, budget, who pays, whether names are known yet. | |
| Yes | Where the quote is sent. Required. | ||
| phone | Yes | Contact number in international form, e.g. +441244568183. Required: a group specialist may phone to confirm details. | |
| adults | Yes | Travellers aged 16 or over. | |
| market | No | Which market handles the enquiry: en (easygroupflights.com), pl (grupoweloty.pl) or at (gruppenfluege.at). Defaults to en. | |
| origin | Yes | Departure airport as an IATA code, e.g. ["LHR"]. Several codes are allowed when the group converges from more than one city. | |
| youths | No | Travellers aged 12–15. | |
| infants | No | Under 2, travelling on an adult lap. They do not occupy a seat and do not count towards the group of 10. | |
| children | No | Travellers aged 2–11, each in their own seat. | |
| last_name | No | Organiser's surname. | |
| first_name | No | Organiser's first name. | |
| cabin_class | No | Defaults to economy. | |
| destination | Yes | Arrival airport as an IATA code, e.g. ["BCN"]. | |
| return_date | No | Return date, ISO 8601 (YYYY-MM-DD). Omit for a one-way group booking. | |
| youths_ages | No | Age of each youth, one entry per youth. | |
| children_ages | No | Age of each child, one entry per child. | |
| return_origin | No | Return leg departure airports, if the group flies home from somewhere other than the destination. | |
| departure_date | Yes | Outbound date, ISO 8601 (YYYY-MM-DD). | |
| return_destination | No | Return leg arrival airports, if travellers go home to a different city. | |
| date_flexibility_days | No | How many days either side of the given dates the group can move. 0 means fixed dates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | Yes | ||
| seats | Yes | Seated travellers; lap infants excluded. | |
| adults | Yes | ||
| domain | Yes | The market whose desk handles the enquiry. | |
| market | Yes | ||
| origin | Yes | ||
| youths | Yes | ||
| infants | Yes | ||
| children | Yes | ||
| reply_to | Yes | Where the quote will be emailed. | |
| expires_at | Yes | ISO 8601 date-time after which the token is refused. | |
| destination | Yes | ||
| return_date | No | ISO 8601 date (YYYY-MM-DD). Absent for one way. | |
| departure_date | Yes | ISO 8601 date (YYYY-MM-DD). | |
| confirmation_token | Yes | Authorises sending exactly this brief. |