discord_set_channel_permission
Set or replace a Discord role or member's channel permission overwrite by defining allow and deny lists; unlisted permissions inherit access. Requires Manage Roles.
Instructions
Set (replace) the permission overwrite for a role or member on a channel. Permissions in neither allow nor deny inherit. Needs Manage Roles.
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": {
"channel_id": "<channel_id>",
"target_id": "<target_id>",
"target_type": "<target_type>"
},
"name": "discord_set_channel_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | Permission names | |
| allow | No | Permission names | |
| target_id | Yes | Role ID or user ID (the @everyone role ID equals the server ID) | |
| channel_id | Yes | Channel ID (a thread ID also works) | |
| target_type | Yes |