upsert_member_channel_permissions
Create or update a channel permission overwrite for an individual member, specifying allowed and denied permissions.
Instructions
Create or update channel permission overwrite for an individual member
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": {
"channelId": "<channelId>",
"userId": "<userId>"
},
"name": "upsert_member_channel_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason | |
| userId | Yes | Member User ID | |
| denyRaw | No | Denied permissions raw bitfield string | |
| allowRaw | No | Allowed permissions raw bitfield string | |
| channelId | Yes | Channel ID | |
| denyPermissions | No | CSV of denied permission names | |
| allowPermissions | No | CSV of allowed permission names |