uploader_fichier
Upload local files to Discord channels with validation. Specify channel ID, file path, and optional custom name, message, spoiler tag, or description.
Instructions
Upload un fichier local vers un canal Discord avec validation
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": {
"channelId": "<channelId>",
"filePath": "<filePath>"
},
"name": "uploader_fichier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | ID du canal où uploader le fichier | |
| filePath | Yes | Chemin local du fichier à uploader | |
| fileName | No | Nom personnalisé pour le fichier | |
| message | No | Message accompagnant le fichier | |
| spoiler | No | Marquer comme spoiler (SPOILER) | |
| description | No | Description du fichier |