Edit Merge Request
gitlab_edit_merge_requestUpdate an existing GitLab merge request by modifying its title, description, assignee, target branch, or state (close/reopen).
Instructions
Update an existing 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>",
"merge_request_iid": "<merge_request_iid>"
},
"name": "gitlab_edit_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | 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 | |
| state_event | No | State event for the MR (close or reopen) | |
| target_branch | No | The target branch | |
| merge_request_iid | Yes | The internal ID of the merge request |