github_teams_add_or_update_repo_permissions_legacy
Assign or modify a team's permissions on a repository via the legacy API. Use this to manage access rights for teams in GitHub.
Instructions
Add or update team repository permissions (Legacy)
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": {
"team_id": "<team_id>",
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_teams_add_or_update_repo_permissions_legacy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| repo | Yes | repo | |
| owner | Yes | owner | |
| team_id | Yes | team_id |