send_file
Send a local file or image to a Telegram topic with a concise caption, choosing photo or document format automatically. Respects allowed file roots and supports HTML captions.
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 | ||
| reference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||