Gitlab Accept MR Tool
Accept and merge GitLab merge requests for specified projects with customizable options like commit messages, branch removal, and squash merging.
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": {
"projectId": "<projectId>",
"mergeRequestId": "<mergeRequestId>"
},
"name": "Gitlab Accept MR Tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | 需要返回的字段路径数组 | |
| mergeOptions | No | 合并选项 | |
| mergeRequestId | Yes | 合并请求 ID | |
| projectId | Yes | 项目 ID |