tg_history_batch
Batch-fetch up to 25 Telegram chats at once for comparing or summarizing conversations, with optional search and per-chat message limits.
Instructions
Read several chats in one call (up to 25). Use this instead of calling tg_history repeatedly when comparing or summarising multiple conversations.
Args: chats: chat ids, @usernames or exact titles. limit: messages per chat. search: only messages containing this text, applied to every chat.
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": {
"chats": "<chats>"
},
"name": "tg_history_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chats | Yes | ||
| limit | No | ||
| search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |