discord_create_role
Create a new Discord role in a server with a specified name, color, and permissions. Requires Manage Roles; the bot can only grant permissions it holds.
Instructions
Create a role. Needs Manage Roles; the bot can only grant permissions it has itself.
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": {
"guild_id": "<guild_id>",
"name": "<name>"
},
"name": "discord_create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | Hex like #ff8800 | |
| hoist | No | Show members separately in the list | |
| guild_id | Yes | Server (guild) ID | |
| mentionable | No | ||
| permissions | No | Permission names |