get_mr_diff
Retrieve merge request diffs from GitLab with file-level splitting. Filter by file path and paginate through results.
Instructions
MR diff 조회 (/diffs, 파일 단위 분할)
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>",
"mr_iid": "<mr_iid>"
},
"name": "get_mr_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 페이지 번호 (1부터) | |
| mr_iid | Yes | MR iid | |
| instance | No | 대상 GitLab 인스턴스명 (생략 시 default) | |
| per_page | No | 페이지당 개수 (기본 20) | |
| file_path | No | 특정 파일만 조회 (선택) | |
| max_lines | No | 파일당 최대 라인 (기본 1000) | |
| project_id | Yes | 프로젝트 ID |