discord_fetch_image
Retrieve images from Discord CDN as base64, automatically resizing to stay within AI token limits.
Instructions
Fetch an image from Discord CDN and return it as base64. Uses iterative scaling to fit within token limits.
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": {
"url": "<url>"
},
"name": "discord_fetch_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The Discord CDN image URL (from message attachments) | |
| maxSizeKB | No | Max size in KB (default 50) |