hermosodocs

create_discord_role

Create a Discord role

Area: THE HERMOSO SLACK + DISCORD APPS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
brandstringWHICH 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.
discordServerstringwhich Discord server (id or name) when the bot is in several
namerequiredstringthe role name, up to 100 characters
colorstring | numbera hex color like #5865F2, or a whole number
hoistbooleanshow its members as their own group in the member list
mentionablebooleanlet anyone @mention the role
permissionsstring[] | stringwhat 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.

All 728 Publishing & scheduling tools · tools.json