List merge request diffs
list_merge_request_diffsRetrieve changed files and patch hunks for any GitLab merge request by providing the project and MR IID, enabling detailed code review and CI diagnosis.
Instructions
Return changed files and patch hunks for a GitLab merge request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"merge_request_iid": "<merge_request_iid>"
},
"name": "list_merge_request_diffs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| unidiff | No | ||
| per_page | No | ||
| merge_request_iid | Yes | Project-scoped internal ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |