list_merge_request_diffs
Retrieve and compare code changes in GitLab merge requests with pagination support. View differences between branches or specific merge requests to analyze modifications before merging.
Instructions
List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or complete URL-encoded path to project | |
| merge_request_iid | No | The IID of a merge request | |
| source_branch | No | Source branch name | |
| page | No | Page number for pagination (default: 1) | |
| per_page | No | Number of items per page (max: 100, default: 20) | |
| unidiff | No | Present diffs in the unified diff format. Default is false. Introduced in GitLab 16.5. |