# search_workspaces

Search for workspaces with filtering and pagination. Supports filters for name (search), slug (exact match), and status.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `first` | `number` | No | Number of results to return (forward pagination). Maximum 25. Use with "after" for paging. |
| `after` | `string` | No | Cursor for forward pagination. Pass the "endCursor" from previous page's pageInfo. |
| `last` | `number` | No | Number of results to return (backward pagination). Maximum 25. Use with "before" for reverse paging. |
| `before` | `string` | No | Cursor for backward pagination. Pass the "startCursor" from previous page's pageInfo. |
| `filters` | `WorkspacesFiltersInput` | No | Filter criteria for the workspace search. - [WorkspacesFiltersInput](#workspacesfiltersinput) |

### WorkspacesFiltersInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `WorkspacesNameInput` | No | Filter by workspace name (supports search) - [WorkspacesNameInput](#workspacesnameinput) |
| `slug` | `WorkspacesSlugInput` | No | Filter by workspace slug (exact match) - [WorkspacesSlugInput](#workspacessluginput) |
| `status` | `WorkspacesStatusInput` | No | Filter by workspace status - [WorkspacesStatusInput](#workspacesstatusinput) |

### WorkspacesNameInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `search` | `string` | No | Search term for workspace name (partial match) |

### WorkspacesSlugInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `eq` | `string` | No | Exact match for workspace slug |

### WorkspacesStatusInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `eq` | `Status` | No | Filter by exact workspace status - [Status](#status) |

### Status

| Value | Description |
| --- | --- |
| `ACTIVE` | Workspace is currently active |
| `CHURNED` | Workspace has churned |

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