telegram_download_file
Download a Telegram file by file_id (up to 20 MB via the Bot API) and return its local path.
Instructions
Download a file from Telegram by file_id (max 20 MB via the Bot API) and return its local path.
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_id": "<file_id>"
},
"name": "telegram_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | file_id from an incoming message. |