Assign or move a stay's room
assign_roomChanges: assigns one stay a room, or moves it to another; any price difference is shown in the preview and accepted only at that figure. Previews first: the first call shows the change and makes nothing. Assigns a room to a stay, or moves it. First call without confirm: a preview (any price difference), nothing changes; then call again with the same values, confirm true and preview_id. A room out of order or taken is refused; a stay booked on Expedia or Booking.com moves only to a room of its own type. 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>",
"room": "<room>",
"reason_code": "<reason_code>"
},
"name": "assign_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Required when reason_code is other | |
| room | Yes | Room number | |
| confirm | No | true to go ahead with the change shown in the preview | |
| preview_id | No | preview_id from the preview | |
| reason_code | Yes | Why | |
| confirmation | Yes | The stay's confirmation number |