# get_beds

Read the beds on a unit or unit type, grouped by room, with each bed's type (for example `SINGLE` or `SMALL_DOUBLE`).
Rooms with no beds are included. Use it to check beds after `add_beds` or `set_beds`, and to get the bed ids that
`set_beds` and `remove_beds` need.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `entityType` | `EntityType` | Yes | The type of entity to read beds for (UNIT or UNIT_TYPE — beds do not apply to buildings) - [EntityType](#entitytype) |
| `entityId` | `string` | Yes | The ID of the unit or unit type |

### EntityType

| Value | Description |
| --- | --- |
| `UNIT` | |
| `UNIT_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 -->
