github_repos_set_team_access_restrictions
Restrict branch access to specific teams in a GitHub repository by setting team access restrictions. Use this to control which teams can push or manage the branch.
Instructions
Set team access restrictions
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_set_team_access_restrictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| branch | Yes | branch |