Compare chats
tg_compare_chatsCompare indexed files from two Telegram chats to identify shared files and files unique to either chat, matching by name, name plus size, stem, or identical file.
Instructions
Compare the indexed files of two chats: what both have, what only one has. by=name (same file name), name_size (same name and size), stem (name without extension/punctuation) or file (identical Telegram file).
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_a": "<chat_a>",
"chat_b": "<chat_b>"
},
"name": "tg_compare_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | name_size | |
| chat_a | Yes | Chat: @username, username, t.me link, t.me/c/<id> link, or numeric id such as -100123… | |
| chat_b | Yes | Chat: @username, username, t.me link, t.me/c/<id> link, or numeric id such as -100123… | |
| sample | No | ||
| account | No | Account id (see tg_list_accounts). Defaults to the default account. |