Request a room booking
book_roomBook a stay on behalf of a real guest — check_room_availability shows whether the dates are free; the venue's city/countryCode come from search_venues. Most hotels treat this as a REQUEST they review and confirm (status "pending"; any deposit is asked for after they confirm). Many apartments and B&Bs confirm INSTANTLY (status "accepted"): the unit is then held for a short time and the response carries a paymentLink and payBy; the booking is released if it is not paid by payBy. This tool never takes payment itself.
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": {
"restaurantId": "<restaurantId>",
"roomFacilityTypeId": "<roomFacilityTypeId>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>",
"guestName": "<guestName>",
"guestPhone": "<guestPhone>"
},
"name": "book_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| checkIn | Yes | YYYY-MM-DD | |
| checkOut | Yes | YYYY-MM-DD | |
| guestName | Yes | ||
| guestCount | No | ||
| guestEmail | No | ||
| guestPhone | Yes | ||
| restaurantId | Yes | ||
| roomFacilityTypeId | Yes |