app_emojis_create
Upload a custom emoji to a Discord application so it works wherever the bot is, independent of any guild. Omit application_id to attach it to the authenticated bot application.
Instructions
Purpose: Upload a new application-scoped custom emoji (applications can own up to 2,000).
When to use: - Register an emoji available wherever the bot is - independent of guild. - Omit application_id to register it on the authenticated bot application.
When NOT to use: - Guild-only emoji → use emojis_create.
Upload requirements: JPEG, PNG, GIF, WEBP, or AVIF; decoded image ≤ 256 KiB; 128×128 is recommended; name is 2-32 ASCII letters, digits, or underscores.
Example: {name:"spark", image:"data:image/png;base64,…"} (application_id is optional for the current bot)
Returns: {id, name, animated}.
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": {
"name": "<name>",
"image": "<image>"
},
"name": "app_emojis_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Emoji name (2-32 ASCII letters, digits, or underscores) | |
| image | Yes | Emoji image as a JPEG, PNG, GIF, WEBP, or AVIF base64 data URI (max 256 KiB decoded) | |
| application_id | No | Application to attach the emoji to (omit to use the authenticated bot application) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||