Rebase GitLab merge request
rebase_merge_requestEnqueue a rebase for a merge request's source branch to fast-forward it. Poll the merge request to confirm the rebase completes.
Instructions
Enqueue a GitLab rebase for the merge request source branch. Use get_merge_request with include_rebase_in_progress to poll the result. Only available when the source branch is a fast-forward of the target.
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": {
"project": "<project>",
"merge_request_iid": "<merge_request_iid>"
},
"name": "rebase_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | GitLab project ID or full path such as group/project. | |
| skip_ci | No | ||
| merge_request_iid | Yes | Project-scoped internal ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |