edit_emoji
Update a custom emoji's name or role restrictions in Discord by providing its emoji ID, optional new name, and comma-separated role IDs.
Instructions
Edit custom emoji name or restricted roles
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": {
"emojiId": "<emojiId>"
},
"name": "edit_emoji"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| reason | No | Audit log reason | |
| emojiId | Yes | Emoji ID | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) | |
| rolesCsv | No | Comma-separated role IDs (empty string to allow all) |