Plan download
tg_plan_downloadPreview a Telegram download before running it: see file count, total size, split-archive gaps, already-downloaded files, approval needs, and estimated duration without queuing anything.
Instructions
Dry run of tg_download with the same arguments: how many files, total size, split-archive sets (and missing volumes), files already downloaded elsewhere, whether approval will be needed, and an estimated duration. Nothing is queued. Use it before large downloads.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tg_plan_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | Chat: @username, username, t.me link, t.me/c/<id> link, or numeric id such as -100123… | |
| limit | No | ||
| links | No | ||
| since | No | Start date, ISO (e.g. 2025-01-01). | |
| types | No | File kinds. Default: everything except stickers. | |
| until | No | End date, ISO. | |
| fields | No | Keep only these fields in list items (e.g. ["message_id","name","size"]) | |
| format | No | compact = lists as {columns, rows} tables; saves a lot of context for long listings | json |
| account | No | Account id (see tg_list_accounts). Defaults to the default account. | |
| extensions | No | Extensions, e.g. ["zip", "mp4"]. | |
| max_size_mb | No | ||
| message_ids | No | ||
| min_size_mb | No | ||
| oldest_first | No | ||
| include_album | No | ||
| name_contains | No | File name or caption contains (case-insensitive). | |
| complete_archives | No |