delete_branch_protection
Remove branch protection rules to allow direct pushes, disable required reviews, or eliminate status checks for a specified GitHub repository branch.
Instructions
Delete branch protection rules for a branch.
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": "delete_branch_protection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| branch | Yes | Branch name (e.g. 'main') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |