# update_booking_policies

Update one or more booking policies in parallel. Each booking policy update requires the booking policy ID, entity type,
and entity ID.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `bookingPolicyId` | `string` | Yes | The ID of the booking policy to update |
| `entityType` | `EntityType` | Yes | The type of entity this booking policy belongs to (UNIT, UNIT_TYPE, or BUILDING). Required to resolve the workspace. - [EntityType](#entitytype) |
| `entityId` | `string` | Yes | The ID of the parent entity (unit, unit type, or building). Required to resolve the workspace. |
| `checkInTime` | `string \| null` | No | Check-in time (e.g., "15:00"). Pass null to clear; omit to leave unchanged. |
| `checkInEndTime` | `string \| null` | No | Check-in end time (e.g., "20:00"). Pass null to clear; omit to leave unchanged. |
| `checkOutTime` | `string \| null` | No | Check-out time (e.g., "11:00"). Pass null to clear; omit to leave unchanged. |
| `minimumNightStay` | `number \| null` | No | Minimum number of nights for a booking. Pass null to clear; omit to leave unchanged. |
| `maximumNightStay` | `number \| null` | No | Maximum number of nights for a booking. Pass null to clear; omit to leave unchanged. |
| `minimumBookingAge` | `number \| null` | No | Minimum age required for booking. Pass null to clear; omit to leave unchanged. |
| `partiesAllowed` | `boolean \| null` | No | Whether parties are allowed. Pass null to clear; omit to leave unchanged. |
| `petsAllowed` | `boolean \| null` | No | Whether pets are allowed. Pass null to clear; omit to leave unchanged. |
| `smokingAllowed` | `boolean \| null` | No | Whether smoking is allowed. Pass null to clear; omit to leave unchanged. |
| `studentsOnly` | `boolean \| null` | No | Whether the property is for students only. Pass null to clear; omit to leave unchanged. |
| `suitableForChildren` | `boolean \| null` | No | Whether the property is suitable for children. Pass null to clear; omit to leave unchanged. |
| `suitableForElderly` | `boolean \| null` | No | Whether the property is suitable for elderly. Pass null to clear; omit to leave unchanged. |
| `suitableForInfants` | `boolean \| null` | No | Whether the property is suitable for infants. Pass null to clear; omit to leave unchanged. |
| `translations` | `Translation[] \| null` | No | Per-locale House Rules. This REPLACES all existing House Rules translations for the booking policy, so include every locale you want to keep — any locale omitted here is removed. Read the current set with get_booking_policy first and edit that full list. A booking policy for a UNIT that belongs to a unit type cannot be edited (edit it on the UNIT_TYPE instead); standalone units, unit types, and buildings are all editable. Pass an empty array to clear all translations; pass null or omit the field to leave translations unchanged. - [Translation](#translation) |

### Translation

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `locale` | `string` | Yes | Locale code for this set of House Rules, e.g. "en", "es", "de" (matches the locale returned by get_booking_policy). |
| `houseRules` | `string` | Yes | House Rules text for this locale |

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