gitlab_save_merge_request
Create or update GitLab merge requests with project ID and optional title, branches, description, assignees, and reviewers. Provide an existing IID to update or leave blank to create.
Instructions
Creates (POST) or updates (PUT) a merge request.
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>"
},
"name": "gitlab_save_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| title | No | ||
| projectId | Yes | Numeric ID or path with namespace, e.g. group/project. | |
| assigneeIds | No | ||
| description | No | ||
| reviewerIds | No | ||
| sourceBranch | No | ||
| targetBranch | No | ||
| mergeRequestIid | No | ||
| removeSourceBranch | No |