Merge Requests
get_merge_requestsRetrieve merge requests from a GitLab project by providing the project path. Paginate through results and sort by updated or creation date to find relevant requests.
Instructions
Get merge requests from a specific GitLab project (read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Full path of the project (e.g., "group/project-name") | |
| first | No | Number of merge requests to retrieve | |
| after | No | Cursor for pagination | |
| sort | No | Sort order (e.g., UPDATED_DESC, CREATED_DESC, CREATED_ASC). Defaults to UPDATED_DESC for recency. | |
| fetchAll | No | Fetch all pages up to 100 results | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |