get_merge_request_version
Retrieve a specific diff version of a merge request by providing the project ID, merge request internal ID, and version ID. Optionally present diffs in unified diff format.
Instructions
Get a specific version of a merge request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unidiff | No | Present diffs in the unified diff format. Default is false. Introduced in GitLab 16.5. | |
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| version_id | Yes | The ID of the merge request diff version | |
| merge_request_iid | Yes | The internal ID of the merge request |