update_discord_role
Edit a Discord role destructive
Description
Change a Discord role's name, color, hoist, mentionable or permissions. role is its id or exact name. Changing PERMISSIONS changes what every member holding the role may do, so when anyone holds it call WITHOUT confirm first: nothing changes and you get a sentence with how many members it affects. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE the post lives in, for THIS CALL ONLY: an id or exact name from list_brands, needed when it was published in a profile this connection is not pinned to. A name that matches no profile, or two, is REFUSED and nothing is done. |
discordServer | string | which Discord server (id or name) when the bot is in several |
rolerequired | string | the role id or exact name (list_discord_roles) |
name | string | the role name, up to 100 characters |
color | string | number | a hex color like #5865F2, or a whole number |
hoist | boolean | show its members as their own group in the member list |
mentionable | boolean | let anyone @mention the role |
permissions | string[] | string | what the role may do, as Discord permission names (e.g. ["VIEW_CHANNEL","SEND_MESSAGES"]) or a bitfield string. The bot can only grant permissions it has itself |
confirm | boolean | true only once the user agreed to a permissions change |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_discord_role.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_discord_role","arguments":{"role":"<string>"}}}
CLI
hermoso call update_discord_role --json '{"role":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_discord_roleCreate a Discord roledelete_discord_roleDelete a Discord rolelist_discord_rolesList Discord rolesassign_discord_roleGive a Discord member a rolesend_discord_dmSend a Discord direct messageremove_discord_roleTake a role away from a Discord memberupdate_discord_threadArchive, lock or rename a Discord threadlist_discord_membersList Discord server memberscreate_discord_threadStart a Discord threadsearch_discord_membersFind a Discord server member