Start a booking (UCP lodging)
create_booking_sessionWRITE. Opens a UCP lodging booking session from a quoted offer (stay_id from get_availability_quote). Returns the authoritative total, the cancellation policy (show it to the traveler), the Virtuoso amenities, the payment term (pay at the hotel) and evidence. Nothing is charged; the session is held until the quote expires.
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": {
"property_id": "<property_id>",
"stay_id": "<stay_id>"
},
"name": "create_booking_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | ||
| booker | No | Lead traveler (legal name + email). Without it the session stays "incomplete". | |
| stay_id | Yes | stay_id of a quoted offer | |
| children | No | ||
| property_id | Yes |