gitflic_branch_protection_edit
Update an existing branch-protection rule to control who can push or merge and enable force pushes, auto-merge, or code-owner approval.
Instructions
Edit a branch-protection 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": {
"project": "<project>",
"uuid": "<uuid>"
},
"name": "gitflic_branch_protection_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return the full, un-slimmed GitFlic response for THIS call (no token compression). Use when the default slim view dropped a field you need. | |
| uuid | Yes | ||
| project | Yes | ||
| autoMerge | No | ||
| allowedToPush | No | ||
| allowForcePush | No | ||
| allowedToMerge | No | ||
| codeOwnerApproval | No |