accept_merge_request
Merge an approved GitLab merge request into its target branch, with optional squash, custom commit message, and source branch cleanup.
Instructions
Merge an approved merge request into the target branch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| squash | No | Squash commits during merge | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| commit_message | No | Custom commit message for the merge commit | |
| merge_request_iid | Yes | Merge request IID to merge into target branch | |
| should_remove_source_branch | No | Delete source branch after merge |