Send Telegram Document
send_telegram_documentSend generated Excel, Word, PowerPoint, or PDF documents directly to Telegram with optional captions and chat targeting.
Instructions
Send a generated document (Excel .xlsx, Word .docx, PowerPoint .pptx, or PDF) directly to Telegram.
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": {
"file_path": "<file_path>"
},
"name": "send_telegram_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | No | ||
| bot_token | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||