discord_send_file
Send files from your computer to Discord channels. Upload images, videos, audio, documents, and other file types with optional messages and custom filenames.
Instructions
Send any type of file to a Discord channel (images, videos, audio, documents, etc.)
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": {
"channel_id": "<channel_id>",
"file_path": "<file_path>"
},
"name": "discord_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Discord channel ID | |
| file_path | Yes | Local path to the file | |
| message | No | Optional message to accompany the file | |
| filename | No | Optional custom filename for the attachment (if not provided, uses the original filename) | |
| spoiler | No | Mark the file as spoiler (default: false) |