haops_merge_merge_request
Merge an approved merge request after verifying branch protection rules and resolving conflicts, supporting fast-forward and three-way merge.
Instructions
Merge an approved merge request. Checks branch protection rules (required approvals, allowed roles) and conflicts before merging. Supports fast-forward and three-way merge.
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": {
"projectSlug": "<projectSlug>",
"mergeRequestId": "<mergeRequestId>"
},
"name": "haops_merge_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| projectSlug | Yes | The project slug (URL identifier) | |
| mergeRequestId | Yes | MR UUID | |
| deleteSourceBranch | No | Delete source branch after merge (default: false) | |
| mergeCommitMessage | No | Custom merge commit message (optional) |