discord_send_file
Upload a base64-encoded file up to 3 MB to a Discord channel or thread, with an optional accompanying message.
Instructions
Upload a file (base64, up to 3 MB) to a channel or thread, with an optional message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Message text to send with the file | |
| filename | Yes | For example report.pdf | |
| mime_type | No | Default application/octet-stream | |
| channel_id | Yes | Channel ID (a thread ID also works) | |
| content_base64 | Yes | File bytes, base64 encoded (up to 3 MB of file) |