list_mr_approval_rules
List the merge request approval rules for a GitLab project, specifying required approvers, approval count, and branch scope.
Instructions
List the project-level MR approval rules: who must approve, how many approvals are required, applies-to-which-branches.
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_id": "<project_id>"
},
"name": "list_mr_approval_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID |