discord_set_channel_permissions
Sets permission overrides for a role or user on a Discord channel or category, specifying allowed and denied permissions with an optional reason.
Instructions
Sets permission overrides for a role or user on a channel or category
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>",
"roleId": "<roleId>"
},
"name": "discord_set_channel_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | Permission flags to deny (e.g. ['ViewChannel', 'SendMessages']) | |
| allow | No | Permission flags to allow (e.g. ['ViewChannel', 'SendMessages']) | |
| reason | No | ||
| roleId | Yes | Role or user ID to set permissions for | |
| channelId | Yes | Channel or category ID |