Approve merge request
gitlab_approve_merge_requestApprove a specific GitLab merge request using its project ID and merge request IID so the request can proceed through required approvals.
Instructions
Approve a specific merge request.
Args: **kwargs: Additional parameters for the request (e.g., project_id, merge_request_iid).
Returns: Response: A wrapper containing the original response and a MergeRequest model.
Raises: MissingParameterError: If the project_id or merge_request_iid is missing. ParameterError: If invalid parameters are provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_approve_merge_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| name | No | ||
| group_id | No | ||
| user_ids | No | ||
| group_ids | No | ||
| rule_type | No | ||
| project_id | No | ||
| report_type | No | ||
| approval_rule_id | No | ||
| merge_request_iid | No | ||
| approvals_required | No | ||
| protected_branch_ids | No | ||
| applies_to_all_protected_branches | No |