discord_mod_create_role
Create a new role in a Discord server with customizable name, color, permissions, and display options.
Instructions
Creates a new 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>",
"name": "<name>"
},
"name": "discord_mod_create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Role name | |
| color | No | Hex color string (e.g. '#FF0000') or color name | |
| hoist | No | Whether the role should be displayed separately in the sidebar | |
| guildId | Yes | The ID of the server | |
| mentionable | No | Whether the role can be mentioned by anyone | |
| permissions | No | Array of permission flag names (e.g. ['SendMessages', 'ViewChannel']) |