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.
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>",
"filename": "<filename>",
"content_base64": "<content_base64>"
},
"name": "discord_send_file"
}
}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) |