update_merge_request
Update a merge request's title, description, target branch, or squash/remove-branch settings. Provide the MR UUID to identify the request.
Instructions
Update a merge request's title, description, target branch, or squash/remove-branch settings. Requires the MR UUID (not local ID) — get it from get_merge_request response field 'id'. Title and targetBranch are always required.
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>",
"mr_uuid": "<mr_uuid>",
"title": "<title>",
"targetBranch": "<targetBranch>"
},
"name": "update_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Project owner alias | |
| title | Yes | MR title | |
| mr_uuid | Yes | Merge request UUID (from get_merge_request response) | |
| project | Yes | Project alias | |
| description | No | MR description | |
| squashCommit | No | Squash commits on merge | |
| targetBranch | Yes | Target branch name | |
| removeSourceBranch | No | Remove source branch after merge |