discord_create_role
Creates a new Discord server role with a custom name, color, hoist setting, mentionability, and permission flags.
Instructions
Create a new server role with custom name, color, hoist, and permissions.
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": {
"name": "<name>"
},
"name": "discord_create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Role name. | |
| color | No | Hex color string (e.g. "#FF5733" or "BLUE"). | |
| hoist | No | Display separately in sidebar (hoist). | |
| guild_id | No | Optional guild ID. | |
| mentionable | No | Allow anyone to mention this role. | |
| permissions | No | Array of permission flags (e.g. ["ViewChannel", "SendMessages", "ManageMessages"]). |