download_attachments
Downloads a Discord message's attachments or a direct CDN URL to local files and returns the saved file paths.
Instructions
Download a message's attachments (or any CDN URL) to local files and return their paths.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "download_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Folder (default /root/.discord-mcp/downloads) | |
| url | No | Or a direct attachment/CDN URL | |
| message | No | Message link, or message ID with channel_id | |
| channel_id | No |