Create Merge Request
gitlab_create_merge_requestCreate a GitLab merge request between source and target branches with a title, optional description, labels, reviewers, assignees, and squash or draft options.
Instructions
Create 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": {
"source_branch": "<source_branch>",
"target_branch": "<target_branch>",
"title": "<title>"
},
"name": "gitlab_create_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| title | Yes | ||
| labels | No | ||
| squash | No | ||
| project_id | No | ||
| description | No | ||
| assignee_ids | No | ||
| milestone_id | No | ||
| reviewer_ids | No | ||
| source_branch | Yes | ||
| target_branch | Yes | ||
| target_project_id | No | ||
| allow_collaboration | No | ||
| remove_source_branch | No |