create_role
Creates a Discord role with a name, color, permissions, and display options. Use it to set up new roles for server members or bots, with an optional dry run to preview changes first.
Instructions
Create a role. Permission names: CreateInstantInvite, KickMembers, BanMembers, Administrator, ManageChannels, ManageGuild, AddReactions, ViewAuditLog, PrioritySpeaker, Stream, ViewChannel, SendMessages, SendTTSMessages, ManageMessages, EmbedLinks, AttachFiles, ReadMessageHistory, MentionEveryone, UseExternalEmojis, ViewGuildInsights, Connect, Speak, MuteMembers, DeafenMembers, MoveMembers, UseVAD, ChangeNickname, ManageNicknames, ManageRoles, ManageWebhooks, ManageGuildExpressions, UseApplicationCommands, RequestToSpeak, ManageEvents, ManageThreads, CreatePublicThreads, CreatePrivateThreads, UseExternalStickers, SendMessagesInThreads, UseEmbeddedActivities, ModerateMembers, ViewCreatorMonetizationAnalytics, UseSoundboard, CreateGuildExpressions, CreateEvents, UseExternalSounds, SendVoiceMessages, SendPolls, UseExternalApps, PinMessages.
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": "create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Use this bot (name or id) instead of choosing automatically | |
| name | Yes | ||
| color | No | ||
| reason | No | Reason shown in the server's audit log | |
| server | No | Server name or id. Optional when the bot is in one server or DISCORD_GUILD_ID is set. | |
| dry_run | No | Show the requests that would be made without changing anything | |
| icon_emoji | No | Unicode emoji shown next to names (needs boost level 2) | |
| icon_image | No | Image path or URL (needs boost level 2) | |
| mentionable | No | ||
| permissions | No | Default: none of its own (members still get what @everyone allows) | |
| shown_separately | No | Show members with this role in their own group |