update_merge_request
Modify GitLab merge requests by updating titles, descriptions, branches, assignees, labels, or state. Use this tool to edit MR details, change reviewers, or manage branch cleanup after merging.
Instructions
Update a merge request (Either mergeRequestIid or branchName must be provided)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or complete URL-encoded path to project | |
| merge_request_iid | No | The IID of a merge request | |
| source_branch | No | Source branch name | |
| title | No | The title of the merge request | |
| description | No | The description of the merge request | |
| target_branch | No | The target branch | |
| assignee_ids | No | The ID of the users to assign the MR to | |
| reviewer_ids | No | The ID of the users to assign as reviewers of the MR | |
| labels | No | Labels for the MR | |
| state_event | No | New state (close/reopen) for the MR | |
| remove_source_branch | No | Flag indicating if the source branch should be removed | |
| squash | No | Squash commits into a single commit when merging | |
| draft | No | Work in progress merge request |