# 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_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `entityType` | `EntityType` | Yes | The type of entity to get the booking policy for (UNIT, UNIT_TYPE, or BUILDING) - [EntityType](#entitytype) |
| `entityId` | `string` | Yes | The ID of the entity (unit, unit type, or building) |

### EntityType

| Value | Description |
| --- | --- |
| `UNIT` | A single accommodation unit |
| `UNIT_TYPE` | A unit type grouping multiple units |
| `BUILDING` | A building containing unit types and units |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#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 |

<!-- OUTPUT_BLOCK_END -->
