github_repos_set_user_access_restrictions
Restrict user access to a GitHub repository branch by specifying allowed users in the request body.
Instructions
Set user 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_user_access_restrictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| branch | Yes | branch |