create_merge_request_review
Submit an approval or comment review on a GitLab merge request. Specify the project, merge request IID, and review text to record your decision.
Instructions
Create a review/approval on 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>",
"body": "<body>",
"event": "<event>"
},
"name": "create_merge_request_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The body text of the review or comment | |
| repo | Yes | Project path/name (e.g. 'pro-portal-onboarding-and-retention') | |
| event | Yes | The review action to perform (e.g. APPROVE, COMMENT) | |
| owner | Yes | Project namespace/path (e.g. 'pro/portal/frontends') or numeric Project ID | |
| mergeRequestIid | Yes | The IID of the merge request |