Similar rooms
ot_similar_roomsFind alternative rooms in the same city and type when a room is full or too expensive, with optional dates to check availability and re-price for your stay.
Instructions
Get 4-5 alternatives to a room (same city and type), as the room page shows them.
Without dates prices are undated starting prices (not tonight's). With check_in/check_out the
rooms are re-priced for that stay; rooms that are booked or too small for guests are listed in
not_available. Use when the user's room is full or too expensive. Next: ot_room, ot_price_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guests | No | Number of guests, e.g. 4. Rooms that cannot take that many are left out. | |
| room_id | Yes | Room id (code), e.g. 2512254. | |
| check_in | No | Arrival day, Gregorian YYYY-MM-DD, e.g. '2026-10-20'. Not in the past; calendars open only to the end of next Jalali month. | |
| check_out | No | Departure day, Gregorian YYYY-MM-DD, e.g. '2026-10-23' (3 nights). At most 20 nights after check_in. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||