Create role (admin)
discord_admin_create_roleCreate a Discord role with a name, color, and named permissions. Use it to define member access levels, optionally hoisting or making roles mentionable, with an audit log reason.
Instructions
Create a role with named permissions (see discord_admin_set_permissions for names). The bot can only manage roles below its highest role.
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_admin_create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| hoist | No | Show members separately in the member list | |
| reason | No | Reason, recorded in Discord's audit log | |
| mentionable | No | ||
| permissions | No |