gitlab_mr_create
Create a GitLab merge request from a source branch to a target branch with a title, description, and labels; dry-run validates that both branches exist before opening it.
Instructions
Create a merge request. dry_run (default true) only checks that both branches exist.
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_mr_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| labels | No | ||
| dry_run | No | ||
| project | No | group/name or numeric id; default: GITLAB_PROJECT or the origin remote | |
| description | No | ||
| source_branch | Yes | ||
| target_branch | Yes |