Download Single Media
telegram_download_mediaDownload media files from specific Telegram messages by providing chat ID and message ID, returning file paths and metadata for targeted data extraction.
Instructions
Download media from a specific message. Use this for targeted downloads instead of a full sync. Returns file path and metadata.
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>",
"message_id": "<message_id>"
},
"name": "telegram_download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat ID containing the message | |
| message_id | Yes | Message ID to download media from | |
| output_dir | No | Custom output directory (default: ./data/raw/{chat_id}/media) |