edit_role
Update an existing Discord role's settings and permissions, including name, color, position, hoist, mentionable, and permission values.
Instructions
Edit an existing role settings and permissions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| color | No | New hex color string (e.g. "#00FF00") | |
| hoist | No | Display role separately in sidebar | |
| reason | No | Audit log reason | |
| roleId | Yes | Role ID to edit | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) | |
| position | No | Role position index | |
| mentionable | No | Allow anyone to mention role | |
| permissionsRaw | No | Permission bitfield string | |
| permissionsNames | No | CSV of permission names |