role_create
Creates a Discord role with configurable name, color, permissions, hoist, mentionable status, and icon to support server role setup and access control.
Instructions
Create a role. color "#ff8800"; permissions = names (see permissions_list), default none; hoist = show separately; icon needs server boost level 2.
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": "role_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| name | Yes | ||
| color | No | ||
| guild | No | ||
| hoist | No | ||
| reason | No | ||
| position | No | ||
| icon_path | No | ||
| mentionable | No | ||
| permissions | No | ||
| unicode_emoji | No |