telegram_send_file
Send a document or file to a Telegram chat using an absolute local path or public URL, with optional caption and parse mode for logs, diffs, screenshots, or reports.
Instructions
Send a document/file via an absolute local path or public URL (max 50 MB). Useful for build logs, diffs, screenshots and reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Optional caption (max 1024 chars). | |
| chat_id | No | Target chat ID (user, group, or channel). Omit to use TELEGRAM_DEFAULT_CHAT_ID. | |
| file_path | Yes | Absolute path to the file (e.g. /tmp/report.pdf) or a public URL. | |
| parse_mode | No | Caption parse mode. |