merge_merge_request
Merge a GitLab merge request by providing the project owner, repository, and merge request IID. Include an optional commit message to append to the automatic commit.
Instructions
Merge a merge request
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": {
"owner": "<owner>",
"repo": "<repo>",
"mergeRequestIid": "<mergeRequestIid>"
},
"name": "merge_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Project path/name (e.g. 'pro-portal-onboarding-and-retention') | |
| owner | Yes | Project namespace/path (e.g. 'pro/portal/frontends') or numeric Project ID | |
| commitMessage | No | Optional detail to append to the automatic commit message | |
| mergeRequestIid | Yes | The IID of the merge request to merge |