update_merge_request
Update a GitLab merge request's title, description, state, target branch, milestone, or labels using the project ID and merge request IID.
Instructions
Update MR title, description, state (close/reopen), target branch, milestone, or labels
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Updated MR title | |
| labels | No | Set labels (replaces existing) | |
| add_labels | No | Add labels | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| description | No | Updated MR description | |
| state_event | No | Close or reopen the merge request | |
| milestone_id | No | Milestone ID (0 to unassign) | |
| remove_labels | No | Remove labels | |
| target_branch | No | Change destination target branch | |
| milestone_title | No | Milestone title to associate | |
| merge_request_iid | Yes | Merge request IID (e.g. 5 for !5) |