Get room types
get_room_typesList a hotel's room types with category, view, code, and image count; enable includeAmenities to add room-specific amenities.
Instructions
List the room types of a hotel with type, category, view, code and image count. Set includeAmenities=true to add amenities that apply only to specific rooms.
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": {
"giataId": "<giataId>"
},
"name": "get_room_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (1-100, default 30). | |
| locale | No | Language code for names and labels, e.g. "en", "de", "tr", "pt_BR". Falls back to English when unavailable. | |
| offset | No | Number of items to skip (pagination). | |
| giataId | Yes | GIATA-ID of the hotel (numeric), e.g. 1273. | |
| includeAmenities | No | Add room-specific amenities (one extra lookup). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| total | Yes | Total number of items available. | |
| offset | Yes | ||
| giataId | Yes | ||
| roomTypes | Yes | ||
| localeUsed | No | ||
| nextOffset | No | Pass as `offset` to get the next page. Absent on the last page. |