gitee_update_branch_protection_rule
Update an existing branch protection rule by modifying its branch pattern, push restriction, or merge restriction for a Gitee repository.
Instructions
Update 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": {
"owner": "<owner>",
"repo": "<repo>",
"wildcard": "<wildcard>"
},
"name": "gitee_update_branch_protection_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user/org/enterprise path) | |
| repo | Yes | Repository path name | |
| wildcard | Yes | Branch pattern | |
| new_wildcard | No | New pattern | |
| pusher_restriction | No | Push restriction | |
| merger_restriction | No | Merge restriction |