telegram_send_file
Send a file to a Telegram chat using a path under the MCP download root; specify the chat identifier and optionally caption or reply-to.
Instructions
Send a file/document to a Telegram chat. The file must live under the MCP download root (MCP_DOWNLOAD_ROOT, default /data/downloads) — pass a relative path or an absolute path inside it. Chat can be @username, phone, or numeric ID.
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": {
"chat": "<chat>",
"path": "<path>"
},
"name": "telegram_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat identifier (@username, +phone, or numeric ID) | |
| path | Yes | File path relative to the MCP download root (or absolute within it) | |
| caption | No | Optional caption | |
| reply_to | No | Message ID to reply to |