# create_unit_types

Create multiple unit types in parallel. Marketing copy (title, descriptions, translations) is set separately via
`update_marketing_details` after the unit types exist.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `unitTypes` | `CreateUnitTypeInput[]` | Yes | Array of unit types to create - [CreateUnitTypeInput](#createunittypeinput) |

### CreateUnitTypeInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `buildingId` | `string` | Yes | The ID of the building to create the unit type in |
| `code` | `string` | Yes | The code/name of the unit type |
| `numberOfBedrooms` | `number` | No | Number of bedrooms |
| `numberOfBathrooms` | `number` | No | Number of bathrooms |
| `maxOccupants` | `number` | No | Maximum number of occupants |
| `spaceTypeId` | `string` | No | The ID of the space type |

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