create_guild_emoji
Upload a custom emoji to a Discord server from a local file path, URL, or data URI, with optional role restrictions and audit log reason.
Instructions
Upload a custom emoji (image ≤256KB: path, URL or data URI). [POST /guilds/{guild_id}/emojis]
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>",
"name": "<name>",
"image": "<image>"
},
"name": "create_guild_emoji"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name | |
| image | Yes | Image: local file path, http(s) URL or data: URI | |
| roles | No | Role IDs (replaces the full list) | |
| reason | No | Reason (shown in the audit log) | |
| guild_id | Yes | Server (guild) ID |