gitlab_rebase_merge_request
Rebase a GitLab merge request’s source branch onto the latest target branch HEAD to resolve out-of-date status. Requires developer access and fast-forward merge method.
Instructions
Rebase the source branch of an MR onto the latest target branch HEAD. Resolves out-of-date status. Requires developer access and fast-forward merge method.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mr_iid | Yes | Merge request internal ID (integer). Project-specific MR number (e.g., !456). Not the global MR ID | |
project_id | No | Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided |