# get_unit_availability

Per-night calendar data for a single unit over a date range, including bookings, blocks, and stay restrictions. Surfaces
overbookings (>1 booking on a night).

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `unitId` | `string` | Yes | The ID of the unit (property) 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. |

<!-- 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 -->
