list_merge_request_diffs
Fetch merge request diffs by specifying either the merge request IID or source branch, with pagination and optional unified diff format.
Instructions
List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (default: 1) | |
| unidiff | No | Present diffs in the unified diff format. Default is false. Introduced in GitLab 16.5. | |
| per_page | No | Number of items per page (max: 100, default: 20) | |
| project_id | No | Project ID or complete URL-encoded path to project | |
| source_branch | No | Source branch name | |
| merge_request_iid | No | The IID of a merge request |