Add chats to the sync list
telegram_sync_addAdds supergroups and channels to the mirror sync list so their messages are retained. Use chat IDs from telegram_chat_read list; changes local sync state only, not Telegram.
Instructions
Puts supergroups and channels on the sync list, so the mirror keeps their messages from now on. Changes only the local mirror and the sync list; nothing changes at Telegram. Needs the sync service running. The list holds at most 30 chats. The whole call is refused when any chat cannot be listed: private chats, bots, basic groups and Saved Messages are always kept, and channels can be listed only with the channels setting on. Chats come as ids from telegram_chat_read method list, never names. A chat already on the list is reported under listed and left as it is, so repeating a call is harmless. If the call ends uncertain, check telegram_sync_read before trying again.
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": "telegram_sync_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chats | Yes | The chats to change, by id from `telegram_chat_read` method `list`, such as -1001234567890: 1 to 30 distinct ids. A name, username or phone number is not a chat. | |
| account | No | The account label; may be left out when only one account is logged in. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | What happens to the added chats and how to read them. | |
| size | Yes | How many chats the sync list holds now. | |
| added | Yes | The chats now on the sync list that were not on it before; they are being seeded. | |
| limit | Yes | The most chats the sync list holds: 30. | |
| listed | Yes | The chats that were already on the sync list; nothing changed for them. |