Submit an enquiry
submit_enquiryStore an enquiry about one published leg and return a reference. The result includes the sentence "No booking or payment made; the operator will contact you / enquire via their link" and the operator or broker's own booking URL. It does not reserve a seat, charge a card, or confirm the flight still exists. Call it only after the person has asked to enquire and has given their name, email, passenger count, and agreement to be contacted. consent must be the boolean true.
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": {
"leg_id": "<leg_id>",
"name": "<name>",
"email": "<email>",
"passengers": "<passengers>",
"consent": "<consent>"
},
"name": "submit_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the person who wants to be contacted. 1 to 200 characters. | |
| Yes | Email address of that person. The operator or broker is who follows up. | ||
| notes | No | Optional note, at most 2000 characters. Omit it when there is nothing to add. | |
| leg_id | Yes | Id of a published leg, as returned by search_empty_legs. Example: leg-ltn-nce. | |
| consent | Yes | Must be the boolean true. That means the person agreed to be contacted about this leg. Any other value is rejected, and the enquiry is not stored. | |
| passengers | Yes | How many people would fly. A whole number from 1 to 19. This does not reserve seats. |