emojis_modify
Update a Discord guild emoji's name or role restrictions: rename an emoji or limit its use to specific roles. Use this to manage access, not to replace the emoji image.
Instructions
Purpose: Update a guild emoji's name and/or role restrictions.
When to use: - Rename an emoji; restrict to a role tier.
When NOT to use: - Replacing the image - Discord does not allow editing emoji bytes; create a new one and delete the old.
Returns: {id, name, animated, 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": {
"guild_id": "<guild_id>",
"emoji_id": "<emoji_id>"
},
"name": "emojis_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name (2-32 chars) | |
| roles | No | Replacement role list (empty array = everyone) | |
| emoji_id | Yes | Emoji to modify | |
| guild_id | Yes | Guild owning the emoji | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||