send_telegram_file_direct
Create a file from a UTF-8 or base64 content string and send it directly to Telegram without writing to disk.
Instructions
Creates a file from the provided content string and sends it directly to Telegram — no disk write needed. Supports utf-8 text and base64-encoded binary content.
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>",
"fileContent": "<fileContent>"
},
"name": "send_telegram_file_direct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Optional caption text for the message. | |
| encoding | No | utf-8 for text content, base64 for binary files. | |
| fileName | Yes | File name including extension (e.g. report.html, data.csv). | |
| fileContent | Yes | The complete file content as a string. |