Search Labels
search_labelsSearch for labels in a GitLab project or group, with optional text filtering to find specific labels.
Instructions
Search for labels in a project or group, with optional text filtering
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 labels to retrieve | |
| search | No | Optional search term to filter labels | |
| 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). | |
| fullPath | Yes | Full path of the project or group (e.g., "group/project-name" or "group") | |
| isProject | Yes | Whether the path is a project (true) or group (false) | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |