send_file
Send a local file or image to a Telegram topic with a concise HTML caption. Automatically delivers small images as photos and other files as documents while respecting allowed file paths.
Instructions
Send an explicitly requested local file or image with a concise caption.
The path must resolve under files.allowed_roots. kind=auto sends supported, small images as Telegram photos and everything else as documents. Use raw Telegram HTML in an HTML caption and keep it within the 1024-character limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | auto | |
| path | Yes | ||
| agent | Yes | ||
| model | Yes | ||
| route | No | ||
| format | No | html | |
| caption | Yes | ||
| project | Yes | ||
| subject | Yes | ||
| reply_to | No | ||
| reference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||