discord_create_upload
Create a one-time upload URL to attach a local file to a Discord message; PUT the file, then pass the returned upload_id in the message attachments list.
Instructions
Get a one-time link for uploading a file to attach with discord_send_message. Upload the raw file with an HTTP PUT from your computer, for example: curl --fail -T file.zip "<upload_url>". Then pass upload_id in the attachments list of discord_send_message. The link expires in 15 minutes and works once.
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": {
"filename": "<filename>"
},
"name": "discord_create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |