discord_create_role
Create a new role in a Discord server with customizable name, color, permissions, and visibility settings.
Instructions
Create a role. permissions is a permission bitfield as a string.
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>",
"name": "<name>"
},
"name": "discord_create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | RGB integer, e.g. 0xFF0000 | |
| hoist | No | Show separately in member list | |
| reason | No | ||
| guildId | Yes | ||
| mentionable | No | ||
| permissions | No | Permission bitfield, e.g. '8' for Administrator |