digest_unread
Summarize unread messages from your top Telegram chats to catch up on missed conversations without marking them as read.
Instructions
KILLER-тул: дайджест непрочитанного.
T9: iter_dialogs → топ-N чатов с unread_count>0 → подтянуть per_chat последних сообщений. Чтение НЕ помечает прочитанным (mark_read не зовём). Ограничивать (FloodWait). read-only.
Выбор топа: сортируем чаты по unread_count по убыванию — наверх всплывает самый большой бэклог (что больше всего пропустил). Сообщения внутри чата — newest-first (как отдаёт iter_messages), не помечаем прочитанным.
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": "digest_unread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | сколько чатов с непрочитанным взять (защита от перебора/FloodWait). | |
| per_chat | No | сколько последних сообщений подтянуть на чат. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |