Send a file over Telegram
notify_fileSends a file from the allowed directory to the configured Telegram chat with an optional caption and silent delivery; calls are refused when file sending is disabled on the server.
Instructions
File sending is turned off on this server (TELEGRAM_NOTIFY_FILES_DIR is not set); every call is refused.
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": {
"path": "<path>"
},
"name": "notify_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, inside the allowed folder | |
| silent | No | Deliver without a notification sound | |
| caption | No | Caption; over 1024 characters it is sent as a separate message |