get_collaborator_permission
Check whether a user or bot is a collaborator on a GitHub repository and retrieve their assigned permission level to determine access rights for infrastructure workflows.
Instructions
Checks whether a user/bot is a collaborator and returns repository permission.
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": {
"repo": "<repo>",
"username": "<username>"
},
"name": "get_collaborator_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | No | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||