github_repos_get_branch_protection
Retrieve branch protection rules for a specified branch in a GitHub repository. Input owner, repo, and branch to get protection settings.
Instructions
Get branch protection
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": {
"owner": "<owner>",
"repo": "<repo>",
"branch": "<branch>"
},
"name": "github_repos_get_branch_protection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | repo | |
| owner | Yes | owner | |
| branch | Yes | branch |