hermosodocs

assign_discord_role

Give a Discord member a role destructive

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

Description

Give one member of the brand's Discord server a role. userId is the member id (search_discord_members); role is its id or exact name. A role can unlock channels and powers, so call it WITHOUT confirm first: nothing changes and you get a sentence naming the member, what the role carries and how many members hold it. The role must sit below the Hermoso role. 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
userIdrequiredstringthe member id (search_discord_members)
rolerequiredstringthe role id or exact name
confirmbooleantrue 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/assign_discord_role.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"assign_discord_role","arguments":{"userId":"<string>","role":"<string>"}}}

CLI

hermoso call assign_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.

All 728 Publishing & scheduling tools · tools.json