get_merge_request_diffs
Retrieve the changes/diffs of a merge request by providing its IID or source branch. Filter files with regex patterns.
Instructions
Get the changes/diffs of a merge request (mergeRequestIid or branchName required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 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 | |
| view | No | Diff view type | |
| excluded_file_patterns | No | Array of regex patterns to exclude files from the diff results. Each pattern is a JavaScript-compatible regular expression that matches file paths to ignore. Examples: ["^vendor/", "^test/mocks/", "\.spec\.ts$", "package-lock\.json"] |