Set Discord channel permissions
discord_set_channel_permissionsSet explicit channel permission overwrites for a role or member by defining allowed and denied permissions per channel.
Instructions
Set explicit channel permission overwrites for a role or 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>",
"targetId": "<targetId>",
"targetType": "<targetType>",
"allow": "<allow>",
"deny": "<deny>"
},
"name": "discord_set_channel_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | Yes | ||
| allow | Yes | ||
| reason | No | ||
| confirm | No | ||
| backupId | No | ||
| targetId | Yes | ||
| channelId | Yes | ||
| targetType | Yes | ||
| allowWithoutBackup | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| name | No | ||
| note | No | ||
| type | No | ||
| error | No | ||
| action | Yes | ||
| status | No | ||
| cleared | No | ||
| guildId | No | ||
| updated | No | ||
| targetId | No | ||
| channelId | No | ||
| positions | No | ||
| targetType | No |