get_merge_request_version
Retrieve a specific version of a merge request by version ID, including its diffs. Optionally present the diff in unified format for easier review.
Instructions
Get a specific version of a merge request
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_merge_request_version"
}
}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 | No | Project ID or complete URL-encoded path to project | |
| version_id | No | The ID of the merge request diff version | |
| merge_request_iid | No | The internal ID of the merge request |