create_merge_request
Create a merge request between two existing branches, with options to squash commits or delete the source branch after merging. Resolves project identifiers automatically.
Instructions
Create a new merge request to merge one branch into another. Both branches must exist in the project. Optionally enable squash commits or auto-delete of the source branch after merge. Internally resolves the project UUID.
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": {
"owner": "<owner>",
"project": "<project>",
"title": "<title>",
"description": "<description>",
"sourceBranch": "<sourceBranch>",
"targetBranch": "<targetBranch>"
},
"name": "create_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Project owner alias | |
| title | Yes | MR title | |
| project | Yes | Project alias | |
| description | Yes | MR description | |
| sourceBranch | Yes | Source branch name | |
| squashCommit | No | Squash commits on merge | |
| targetBranch | Yes | Target branch name | |
| removeSourceBranch | No | Remove source branch after merge |