List Protected Branches
gitlab_list_protected_branchesList protected branch rules for a GitLab project to review which branches are protected and their allowed merge/push actions.
Instructions
List protected branch rules configured for a project.
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": "gitlab_list_protected_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No | ||
| project_id | Yes |