telegram_send_media
Send photos, documents, videos, audio, or animations to a Telegram chat using a chat ID, media type, and media URL, with an optional caption.
Instructions
Send media (photo/document/video) via 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": {
"chat_id": "<chat_id>",
"media_type": "<media_type>",
"media_url": "<media_url>"
},
"name": "telegram_send_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | Yes | ||
| bot_token | No | Bot token. Optional when connected in UnClick or the documented env var is set. | |
| media_url | Yes | ||
| media_type | Yes | photo, document, video, audio |