github_orgs_set_membership_for_user
Sets a user's membership role within a GitHub organization by specifying the organization and username, with an optional request body for role details.
Instructions
Set organization membership for a user
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": {
"org": "<org>",
"username": "<username>"
},
"name": "github_orgs_set_membership_for_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | org | |
| body | No | Request body (JSON object) | |
| username | Yes | username |