FoyerDevelopers

Generated · Live registry

availability tools

1 tool in this domain, generated from the running registry.

All tool domains

availability.query

read-only

Check room availability for a date range. Returns rooms (by type and room name) that are NOT blocked for any night in [checkIn, checkOut). Optionally filter by roomType. Each result includes the room id, name, type, and the current price from the default rate plan for checkIn (if set).

Input parameters

FieldTypeRequiredNotes
checkInstringyesFirst night, YYYY-MM-DD.
checkOutstringyesDeparture date (exclusive), YYYY-MM-DD.
roomTypestringnoFilter to a specific room type (rooms.type).

Output fields

FieldTypeRequiredNotes
availablearray of objectyes
available.roomIdstringyes
available.roomNamestringyes
available.roomTypestring · nullableyes
available.priceCentsinteger · nullableyesPrice for checkIn night, if set.
available.currencystring · nullableyes