get-groups
Retrieve workspace groups, optionally filtered by specific group IDs or by name search. Use this to obtain group IDs for notification tools.
Instructions
Get groups from a workspace. Retrieves all workspace groups by default, or specific groups if groupIds array is provided. Supports optional case-insensitive search filtering by group name. Use this before passing group IDs to tools that support group notifications.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupIds | No | Optional array of specific group IDs to fetch. If not provided or empty array, fetches all workspace groups. | |
| searchText | No | Optional search text to filter groups by name (case-insensitive). | |
| workspaceId | Yes | The workspace ID to get groups from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| groups | Yes | ||
| totalGroups | Yes | ||
| workspaceId | Yes | ||
| filteredGroups | Yes |