# Hermoso: update_discord_role · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/update_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/) / update_discord_role

# `update_discord_role`

Edit a Discord role destructive

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

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

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

## Related tools

- [create_discord_role](https://hermoso.ai/docs/reference/publish/create_discord_role/) Create a Discord role
- [delete_discord_role](https://hermoso.ai/docs/reference/publish/delete_discord_role/) Delete a Discord role
- [list_discord_roles](https://hermoso.ai/docs/reference/publish/list_discord_roles/) List Discord roles
- [assign_discord_role](https://hermoso.ai/docs/reference/publish/assign_discord_role/) Give a Discord member a role
- [send_discord_dm](https://hermoso.ai/docs/reference/publish/send_discord_dm/) Send a Discord direct message
- [remove_discord_role](https://hermoso.ai/docs/reference/publish/remove_discord_role/) Take a role away from a Discord member
- [update_discord_thread](https://hermoso.ai/docs/reference/publish/update_discord_thread/) Archive, lock or rename a Discord thread
- [list_discord_members](https://hermoso.ai/docs/reference/publish/list_discord_members/) List Discord server members
- [create_discord_thread](https://hermoso.ai/docs/reference/publish/create_discord_thread/) Start a Discord thread
- [search_discord_members](https://hermoso.ai/docs/reference/publish/search_discord_members/) Find a Discord server member

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