Check room and housekeeping status
list_roomsUse this when someone asks which rooms are clean, dirty or inspected, or which are out of order or out of service. Returns each physical room's name or number, room type and hotel with its room and housekeeping status, 20 per page by default (no guest or occupant data). Not for which rooms are free on given dates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_rooms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rooms per page, from 1 to 100; defaults to 20 | |
| offset | No | Rooms to skip, from 0 to 10000; defaults to 0. For the next page pass offset + limit | |
| hotelId | No | Only this hotel (24 lowercase hexadecimal characters); every hotel when absent | |
| roomTypeId | No | Only this room type (24 lowercase hexadecimal characters) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | hasMore is true when another page exists; request it with offset + limit | |
| rooms | Yes | Physical rooms sorted by name. Internal room ids, reservation, occupant, guest, access-control and channel data are excluded. |