Prepare a flight booking
clevrgo_book_flightAsk ClevrGo to prepare a booking for one one-way flight the user has clearly chosen, by its reference from clevrgo_flight_search (f1, f2). Nothing is booked or paid by this: ClevrGo confirms the fare with the airline and answers with a booking summary and a confirmation id. Show the user that summary, passengers and price exactly as given; call clevrgo_confirm only after they clearly confirm it, or give them the ClevrGo link. The passengers are travellers the user saved in ClevrGo: if ClevrGo lists them for a choice, ask the user which, and call again with their travelerRefs. If the booking says paysOn: clevrgo_link, confirming in the chat books it and creates the payment, and returns a one-time link that only asks for the user's wallet signature -- say so. Never ask for passport, ID, birth date or card numbers, and do not say the flight is booked before ClevrGo says so.
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": {
"flightRef": "<flightRef>"
},
"name": "clevrgo_book_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flightRef | Yes | The flight's reference from flight_search, e.g. 'f2'. | |
| travelerRefs | No | Which saved travellers fly, by the references ClevrGo listed when it asked (e.g. 't3fa21c'). Omit on the first request. |