list_protected_branches
Retrieve protected branches of a GitLab project, including push, merge, and unprotect access levels.
Instructions
List protected branches for a project, with their push/merge/unprotect access levels.
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_protected_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID |