# get_unit

Get unit information by ID.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `unitId` | `string` | Yes | The ID of the unit to retrieve |
| `amenities` | `unknown` | No | Pagination options for the amenities collection. Page size is capped at 25; page through with the returned pageInfo cursors to retrieve all amenities. |
| `faqs` | `unknown` | No | Pagination options for the FAQs collection. Page size is capped at 25; page through with the returned pageInfo cursors to retrieve all FAQs. |

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