Create Merge Request
gitlab_create_merge_requestCreate a merge request on GitLab by providing project ID, source and target branches, and title. Optionally include assignee and description for detailed tracking.
Instructions
Create a new 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>",
"source_branch": "<source_branch>",
"target_branch": "<target_branch>",
"title": "<title>"
},
"name": "gitlab_create_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of MR | |
| projectId | Yes | The ID or URL-encoded path of the project | |
| assignee_id | No | Assignee user ID | |
| description | No | Description of MR (e.g., 'Closes #123') | |
| source_branch | Yes | The source branch | |
| target_branch | Yes | The target branch |