push_code_review_comments
Pushes code review comments to GitLab merge requests, including inline line-level comments and file-level feedback.
Instructions
将代码审查评论推送到GitLab MR,支持行内评论和文件级评论
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>",
"reviewComments": "<reviewComments>"
},
"name": "push_code_review_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | 项目路径,格式: owner/repo | |
| commentStyle | No | 评论风格 | detailed |
| reviewComments | Yes | 代码审查评论列表 | |
| summaryComment | No | 总体审查评论(可选) | |
| mergeRequestIid | Yes | 合并请求的内部ID |