Search GitLab
search_gitlabSearch across GitLab projects and issues with plain text. Enables finding code, discussions, and content across the instance.
Instructions
Text search across GitLab projects and issues (Note: Does not support filtering by assignee/labels - use search_issues for that. MRs cannot be searched globally - use search_merge_requests with username)
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 results to retrieve per category | |
| fetchAll | No | Fetch multiple pages per category in one call, up to ~100 items each — NOT exhaustive. For complete results, leave this false and paginate via after (pageInfo.endCursor). | |
| searchTerm | No | Search term (leave empty for recent activity) | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |