Change a stay's guest details
update_guest_detailsChanges: changes one stay's guest name, phone, e-mail, company or guest counts, as the stay window does; a guest-count change re-prices the nights not yet posted by the hotel's extra-guest charge. Previews first: the first call shows the change and makes nothing. Changes the guest name, phone, e-mail, company, adults or children of one stay. A booking site's stay (Expedia, Booking.com): its name, phone, e-mail and company only; its guest count is changed on that site. First call without confirm: a preview (each detail before and after, and the new total when the guest count moves the price), nothing changes; then call again with the same values, confirm true and preview_id. Pets, vehicle, notes, VIP or do-not-rent marks, the room and the rate plan are not changed here. Needs the owner's sign-in.
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": {
"confirmation": "<confirmation>"
},
"name": "update_guest_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Adults | |
| company | No | The guest's company | |
| confirm | No | true to go ahead with the change shown in the preview | |
| children | No | Children | |
| guest_name | No | The guest's full name | |
| preview_id | No | preview_id from the preview | |
| guest_email | No | The guest's e-mail | |
| guest_phone | No | The guest's phone | |
| confirmation | Yes | The stay's confirmation number |