Search Groups
search_groupsSearch GitLab groups by name or path. Retrieve matching organizations with optional pagination for accurate results.
Instructions
Search for GitLab groups and organizations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor. To fetch the next page, pass the previous response pageInfo.endCursor here and repeat until pageInfo.hasNextPage is false. Paginating this way is the reliable path to complete results and accurate totals. | |
| first | No | Number of groups to retrieve | |
| fetchAll | No | Fetch multiple pages in one call, up to "first" items total (max 100) — NOT exhaustive. For complete results or accurate counts, leave this false and paginate via after (pageInfo.endCursor). | |
| searchTerm | Yes | Search term to find groups by name or path | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |