# Hermoso: create_discord_role · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/create_discord_role/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / create_discord_role

# `create_discord_role`

Create a Discord role

Area: THE HERMOSO SLACK + DISCORD APPS · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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

`name` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [assign_discord_role](https://hermoso.ai/docs/reference/publish/assign_discord_role/) Give a Discord member a role
- [list_discord_roles](https://hermoso.ai/docs/reference/publish/list_discord_roles/) List Discord roles
- [update_discord_role](https://hermoso.ai/docs/reference/publish/update_discord_role/) Edit a Discord role
- [send_discord_dm](https://hermoso.ai/docs/reference/publish/send_discord_dm/) Send a Discord direct message
- [delete_discord_role](https://hermoso.ai/docs/reference/publish/delete_discord_role/) Delete a Discord role
- [update_discord_thread](https://hermoso.ai/docs/reference/publish/update_discord_thread/) Archive, lock or rename a Discord thread
- [create_discord_thread](https://hermoso.ai/docs/reference/publish/create_discord_thread/) Start a Discord thread
- [remove_discord_role](https://hermoso.ai/docs/reference/publish/remove_discord_role/) Take a role away from a Discord member
- [crosspost_discord_message](https://hermoso.ai/docs/reference/publish/crosspost_discord_message/) Publish a Discord announcement to following servers
- [list_discord_members](https://hermoso.ai/docs/reference/publish/list_discord_members/) List Discord server members

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
