Skip to content

get_unit_type_availability

Per-night aggregated availability counts across all units of a unit type, including bookedCount, blockedCount, availableCount, and overbookedCount.

Parameter Type Required Description
unitTypeId string Yes The ID of the unit type (multi-unit group) to inspect.
startDate string Yes Start of the date range (inclusive). ISO date in YYYY-MM-DD format.
endDate string Yes End of the date range (inclusive). ISO date in YYYY-MM-DD format. Maximum 90 nights from startDate.
Field Type Description
content ContentItem[] Array of content items returned by the tool - ContentItem
isError boolean Whether the tool execution resulted in an error
Field Type Description
type 'text' Content type (currently only ‘text’ is supported)
text string The text content to display