Get Protected Branch
gitlab_get_protected_branchRetrieve a protected branch or wildcard rule from a GitLab project using the branch name.
Instructions
Get one protected branch or wildcard rule.
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": {
"branch": "<branch>"
},
"name": "gitlab_get_protected_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| project_id | No |