create_role
Add a customizable role to a Discord server by specifying name, color, and mentionable options.
Instructions
Create a new role in the 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": {
"guild_id": "<guild_id>",
"name": "<name>"
},
"name": "create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | ||
| name | Yes | Role name | |
| color | No | Hex color (e.g. "#FF0000", optional) | |
| mentionable | No | Whether the role is mentionable (default false) | |
| reason | No | Audit log reason (optional) |