send_file
Send files to Discord channels with channel ID and file data. Optionally include a message and mark as spoiler via the Discord API.
Instructions
Discordチャンネルにファイルを送信します
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>",
"file": "<file>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | 送信するファイルの情報 | |
| content | No | ファイルと一緒に送信するメッセージ内容(最大2000文字、オプション) | |
| spoiler | No | スポイラーとして送信するかどうか(デフォルト: false) | |
| channelId | Yes | ファイルを送信するチャンネルのID |