MR Commits
get_merge_request_commitsRetrieve commits from a merge request (excluding merge commits) with commit count and details. Supports pagination for large result sets.
Instructions
Get commits for a merge request (excluding merge commits), with commit count and details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Full path of the project (e.g., "group/project-name") | |
| iid | Yes | Merge request IID | |
| first | No | Number of commits to retrieve | |
| after | No | Cursor for pagination | |
| 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) |