get_merge_request_changes
Retrieves the list of changed files in a GitLab merge request, optionally including file contents, to support code review and change analysis.
Instructions
获取合并请求的文件变更列表
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": {
"projectPath": "<projectPath>",
"mergeRequestIid": "<mergeRequestIid>"
},
"name": "get_merge_request_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focusFiles | No | 重点关注的文件列表 | |
| projectPath | Yes | 项目路径,格式: owner/repo | |
| includeContent | No | 是否包含文件内容 | |
| mergeRequestIid | Yes | 合并请求的内部ID |