create_discord_role
Create a Discord role
Description
Create a role in the brand's Discord server: name, color, whether it shows separately in the member list (hoist), whether it can be @mentioned, and optionally its permissions by name. Unset permissions start as the server's @everyone permissions. Nobody holds a new role until assign_discord_role gives it. 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 |
namerequired | 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 |
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/create_discord_role.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_discord_role","arguments":{"name":"<string>"}}}
CLI
hermoso call create_discord_role --json '{"name":"<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
assign_discord_roleGive a Discord member a rolelist_discord_rolesList Discord rolesupdate_discord_roleEdit a Discord rolesend_discord_dmSend a Discord direct messagedelete_discord_roleDelete a Discord roleupdate_discord_threadArchive, lock or rename a Discord threadcreate_discord_threadStart a Discord threadremove_discord_roleTake a role away from a Discord membercrosspost_discord_messagePublish a Discord announcement to following serverslist_discord_membersList Discord server members