tg_send_file
Attach and send a file to the open Telegram chat, with auto-detection by extension or explicit photo/document type.
Instructions
Attach and send a file to the open chat. kind: auto (by extension) | photo | document.
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": "tg_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | auto | |
| path | Yes | ||
| caption | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |