is_branch_protected
Checks whether a branch name is protected by safety rules, helping AI agents avoid unsafe Git operations.
Instructions
Check if a branch name is considered protected by safety rules.
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": "is_branch_protected"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch name to check. |