send_document_file
Send a local file as a document to a Telegram chat. Optionally add a caption with Markdown or HTML formatting.
Instructions
Send a local file as a document to a chat.
Args: file_path: Absolute path to the file on disk chat_id: Chat ID or @channel_username (uses TELEGRAM_CHAT_ID if omitted) caption: Document caption (optional) parse_mode: "Markdown", "MarkdownV2", or "HTML" for caption (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| chat_id | No | ||
| caption | No | ||
| parse_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |