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.

Input

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)

EntityType

Value
Description

UNIT

UNIT_TYPE

BUILDING

Output

Field
Type
Description

content

ContentItem[]

Array of content items returned by the tool - ContentItem

isError

boolean

Whether the tool execution resulted in an error

ContentItem

Field
Type
Description

type

'text'

Content type (currently only 'text' is supported)

text

string

The text content to display

Last updated