remove_discord_role
Take a role away from a Discord member destructive
Description
Take a role away from one member of the brand's Discord server; they lose every channel and permission it gave them. Call it WITHOUT confirm first: nothing changes and you get a sentence naming the member and the role to show the user. 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 |
userIdrequired | string | the member id (search_discord_members) |
rolerequired | string | the role id or exact name |
confirm | boolean | true only once the user agreed |
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/remove_discord_role.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"remove_discord_role","arguments":{"userId":"<string>","role":"<string>"}}}
CLI
hermoso call remove_discord_role --json '{"userId":"<string>","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
assign_discord_roleGive a Discord member a rolelist_discord_membersList Discord server membersdelete_discord_roleDelete a Discord rolesearch_discord_membersFind a Discord server memberupdate_discord_roleEdit a Discord rolelist_discord_pinsList pinned Discord messagescreate_discord_roleCreate a Discord rolepin_discord_messagePin a Discord messagelist_discord_rolesList Discord rolesunpin_discord_messageUnpin a Discord message