Remove chats from the sync list
telegram_sync_removeRemove chats from the sync list to stop mirroring their messages and delete locally held copies, while leaving Telegram unchanged.
Instructions
Takes supergroups and channels off the sync list, so the mirror stops keeping their messages and deletes the ones it holds, with their earlier versions. 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 that is not on the list is reported under absent, 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_remove"
}
}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 removed chats and how to read them. | |
| size | Yes | How many chats the sync list holds now. | |
| limit | Yes | The most chats the sync list holds: 30. | |
| absent | Yes | The chats that were not on the sync list; nothing changed for them. | |
| removed | Yes | The chats taken off the sync list; their mirrored messages and earlier versions are gone. |