discord_grant_permission
Grant specified permissions to a Discord role by name, preserving existing permissions through a bitwise OR operation.
Instructions
Add one or more permissions to a role by name (e.g. BAN_MEMBERS). Reads current perms and ORs in the new ones — does not clobber existing perms.
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>",
"roleId": "<roleId>",
"permissions": "<permissions>"
},
"name": "discord_grant_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | ||
| guildId | Yes | ||
| permissions | Yes |