discord_edit_permission_overwrite
Allow or deny permissions for a role or member on a single Discord channel, enabling precise per-channel access control without changing server-wide role settings.
Instructions
Allow or deny permissions for a role or member on one 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>",
"targetType": "<targetType>",
"targetId": "<targetId>"
},
"name": "discord_edit_permission_overwrite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | Permission names to deny | |
| allow | No | Permission names to allow, for example ViewChannel | |
| reason | No | ||
| guildId | Yes | Discord id (snowflake) | |
| targetId | Yes | ||
| channelId | Yes | ||
| targetType | Yes |