Gitlab Create MR Tool
Generate new Merge Requests in GitLab, assign users, and add reviewers for streamlined code collaboration. Simplify project management by specifying branches, titles, and labels.
Instructions
创建新的 Merge Request,支持指派 assignee 和 reviewers。
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>",
"sourceBranch": "<sourceBranch>",
"targetBranch": "<targetBranch>",
"title": "<title>"
},
"name": "Gitlab Create MR Tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assigneeId | No | 指派的用户 ID | |
| description | No | 描述 | |
| fields | No | 需要返回的字段路径数组 | |
| labels | No | 标签数组 | |
| projectId | Yes | 项目 ID | |
| reviewerIds | No | Reviewer 用户 ID 列表 | |
| sourceBranch | Yes | 源分支 | |
| targetBranch | Yes | 目标分支 | |
| title | Yes | 标题 |