modify_role
Change Discord role properties including name, color, permissions, position, and visibility settings to manage server organization and member access.
Instructions
Modify role properties (name, color, permissions, position, etc.)
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": "modify_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes | The ID of the server (guild) | |
| roleId | Yes | The ID of the role to modify | |
| name | No | New role name | |
| color | No | New hex color code | |
| hoist | No | Whether to display separately | |
| mentionable | No | Whether the role can be mentioned | |
| permissions | No | Array of permission names | |
| position | No | New position | |
| reason | No | Reason for the modification |