send_file
Upload base64-encoded files to Rocket.Chat channels, enabling direct file sharing from encoded data.
Instructions
Upload a base64-encoded file to a room.
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>",
"content": "<content>",
"filename": "<filename>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | ||
| content | Yes | ||
| message | No | ||
| filename | Yes | ||
| mime_type | No | application/octet-stream |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||