telegram-send-file
Send a photo, document, video, or other file to a Telegram chat using a chat ID or username and a local path or HTTP(S) URL.
Instructions
Send a file (photo, document, video, etc.) to a Telegram chat
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": {
"chatId": "<chatId>",
"filePath": "<filePath>"
},
"name": "telegram-send-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID or username | |
| caption | No | File caption | |
| filePath | Yes | Absolute path to a file under the home or temp folder (hidden folders are refused), or an http(s) URL |