discord_edit_role
Update a Discord role's name, color, permissions, position, and other attributes in a server.
Instructions
Edits an existing role in a Discord server
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>"
},
"name": "discord_edit_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | Hex color string (e.g. '#FF0000') or color name | |
| hoist | No | ||
| reason | No | ||
| roleId | Yes | ||
| guildId | Yes | ||
| position | No | New position in the role hierarchy | |
| mentionable | No | ||
| permissions | No | Array of permission flag names |