Get Mr Changes Tool
get_mr_changes_toolRetrieve the diff and changed files for a GitLab merge request by project ID or path and merge request internal ID, so you can review code changes before approving or merging.
Instructions
Get the changes (diff) for a 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_id": "<project_id>",
"merge_request_iid": "<merge_request_iid>"
},
"name": "get_mr_changes_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or path | |
| merge_request_iid | Yes | Merge request internal ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||