discord_set_channel_permission
Create or replace a permission overwrite for a role or member on a Discord channel, specifying allowed and denied permissions to control access.
Instructions
Create or replace a role/member permission overwrite on a channel.
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": {
"guildId": "<guildId>",
"channelId": "<channelId>",
"targetId": "<targetId>",
"targetType": "<targetType>"
},
"name": "discord_set_channel_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | ||
| allow | No | ||
| dryRun | No | ||
| reason | No | ||
| guildId | Yes | ||
| targetId | Yes | ||
| channelId | Yes | ||
| targetType | Yes |