send_file
Upload a file to a channel or direct message, with an optional text message.
Instructions
Send a file (image, document, etc.) to a channel or user.
Args:
channel: Channel name, channel ID, or @username for DM
file_path: Absolute path to the file to upload
message: Optional text message to send with the file
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": "<channel>",
"file_path": "<file_path>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| file_path | Yes | ||
| message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |