github_repos_add_team_access_restrictions
Add team access restrictions to a GitHub branch, specifying which teams can push or merge.
Instructions
Add 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_add_team_access_restrictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | owner | |
| repo | Yes | repo | |
| branch | Yes | branch | |
| body | No | Request body (JSON object) |