Set Booking Travelers
set_booking_travelersSave each person's details on your user's own unstarted booking proposal.
Use it when a proposal lists travelers_needed and the user will approve in chat. Requires the user's own Zestli connection. Send one entry per slot, in slot order, with exactly that slot's fields as the user states them, as on their ID (and its optional_fields only when the user gives them): never guess or reuse one person's details for another, and ask for nothing a slot doesn't list. Omit email and phone for a contact_is_payer slot. Zestli checks each date of birth against the quoted ages on the travel date (for an operator rate option, its age range, and that an adult travels when it needs one); a mismatch saves and charges nothing and needs a fresh quote with the right ages. Passport details are never taken in chat: when a slot needs identity_documents, give the user checkout_url. Sending a new list replaces the saved one, and the user must approve again. This never approves or pays: the result is the proposal whose review names each person for the user's approval.
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": {
"request": "<request>"
},
"name": "set_booking_travelers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Every quoted person for one proposal, in travelers_needed order. |