# update_units_default_availability

Bulk-set the unit-level default calendar availability — the PMS "Default calendar availability" radio. Accepts an array
of `{unitId, status}` where `status` is `AVAILABLE` or `UNAVAILABLE`. Existing blocks and bookings on the calendar are
not affected; only the default that applies to new dates changes. Returns per-unit success/failure so partial failures
don't abort the batch.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `updates` | `Update[]` | Yes | Array of {unitId, status} pairs to apply. Each unit is updated independently; per-unit failures are reported without aborting the batch. - [Update](#update) |

### Update

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `unitId` | `string` | Yes | The ID of the unit to update. |
| `status` | `DefaultAvailabilityStatus` | Yes | AVAILABLE or UNAVAILABLE. - [DefaultAvailabilityStatus](#defaultavailabilitystatus) |

### DefaultAvailabilityStatus

| Value | Description |
| --- | --- |
| `AVAILABLE` | Calendar open by default; close specific ranges to block. |
| `UNAVAILABLE` | Calendar closed by default; open specific ranges to make bookable. |

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