discord_create_reaction_role_menu
Attach emoji-to-role mappings to a Discord message so members self-assign roles by reacting; posts the menu embed and records the configuration the running bot uses.
Instructions
Attach one or more emoji→role mappings to a message so members self-assign roles by reacting. Posts a menu embed, adds each reaction, and records the mappings the bot process reads. The bot must be running (npm run bot) for reactions to be honoured: this tool only writes the configuration. Roles at or above the bot's highest role are refused before anything is posted, because Discord would reject the grant anyway.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"guild_id": "<guild_id>",
"channel_id": "<channel_id>",
"title": "<title>",
"entries": "<entries>"
},
"name": "discord_create_reaction_role_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Embed title. | |
| reason | No | ||
| entries | Yes | Emoji→role pairs. Discord allows up to 20 reactions per message. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| channel_id | Yes | Channel the menu is posted in. | |
| description | No | Embed body, e.g. how to use the menu. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mappings | Yes | ||
| warnings | Yes | ||
| channel_id | Yes | ||
| message_id | Yes |