search_merge_requests
Search GitLab merge requests by username, author, assignee, or text within projects to find and filter relevant code review items.
Instructions
Search merge requests by username (supports "username", "author:username", "assignee:username") or search within a specific project. Note: GitLab does not support global text search for MRs - use projectPath for text searches.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchTerm | Yes | Username (e.g., "cdhanlon", "author:username", "assignee:username") or text when projectPath provided | |
| projectPath | No | Project path (e.g., "group/project"). Required for text searches, optional for username searches. | |
| state | No | Filter by merge request state (opened, closed, merged, all) | all |
| first | No | Number of merge requests to retrieve | |
| after | No | Cursor for pagination | |
| userCredentials | No | Your GitLab credentials (optional - uses shared token if not provided) |