Skip to content

get_booking_policy

Get the booking policy for a unit, unit type, or building. Returns check-in/out times, minimum/maximum night stay, and guest restrictions.

Parameter Type Required Description
entityType EntityType Yes The type of entity to get the booking policy for (UNIT, UNIT_TYPE, or BUILDING) - EntityType
entityId string Yes The ID of the entity (unit, unit type, or building)
Value Description
UNIT A single accommodation unit
UNIT_TYPE A unit type grouping multiple units
BUILDING A building containing unit types and units
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