discord_mod_set_permissions
Override Discord channel or category permissions for a role or user by allowing or denying specific permissions.
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_mod_set_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deny | No | Permission flags to deny | |
| allow | No | Permission flags to allow (e.g. ['ViewChannel', 'SendMessages']) | |
| reason | No | Reason for the change | |
| roleId | Yes | Role or user ID to set permissions for | |
| channelId | Yes | Channel or category ID |