discord_edit_emoji
Rename a custom Discord emoji or update which roles can use it; provide role IDs to replace restrictions, or an empty list to open it to everyone.
Instructions
Rename a custom emoji or change which roles may use it. Only provided fields change. Requires Manage Expressions. Passing role_ids replaces the whole restriction list; pass an empty array to open the emoji to everyone. Returns the updated emoji.
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>",
"emoji_id": "<emoji_id>"
},
"name": "discord_edit_emoji"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New emoji name. | |
| reason | No | Optional reason recorded in the audit log. | |
| emoji_id | Yes | ID of the emoji to edit. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| role_ids | No | Replacement role restriction list. Empty array means everyone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| name | Yes | ||
| managed | Yes | ||
| animated | Yes | ||
| role_ids | Yes | ||
| author_id | Yes | ||
| available | Yes |