discord_edit_role
Update a Discord role's name, color, hoist, mentionable status, permissions, or position to keep server access and display settings accurate.
Instructions
Edit role attributes (name, color, hoist, mentionable, permissions, position).
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": {
"role_id": "<role_id>"
},
"name": "discord_edit_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New role name. | |
| color | No | New hex color. | |
| hoist | No | Hoist status. | |
| role_id | Yes | Role ID or name to edit. | |
| guild_id | No | Optional guild ID. | |
| position | No | Position order. | |
| mentionable | No | Mentionable status. | |
| permissions | No | Permissions array. |