select_room
Select a room type and optional rate plan for a hotel reservation after viewing available options.
Instructions
Choose a room type to book. Call this after get_room_options to select a room before checkout.
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": {
"hotelId": "<hotelId>",
"roomCode": "<roomCode>"
},
"name": "select_room"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotelId | Yes | Hotel property code | |
| roomCode | Yes | Room type code from get_room_options | |
| ratePlanCode | No | Rate plan code from get_room_options (optional) |