Telegram Watch Chats
telegram_watch_chatsAsks LMCP to tell this session when new messages arrive in chosen Telegram chats, so you do not have to keep calling telegram_read_messages. Needs account and chats. LMCP checks every 300 seconds (delivery "poll"), so a notice can come about 5 minutes after the message. Each notice is a notifications/claude/channel message to this session with platform, account, chat, count, max_id and event_id, never the text: read the chat with telegram_read_messages. A notice can repeat: ignore an event_id you already saw. Watching starts now; read the chats once to catch up. It ends with this session, or with telegram_unwatch_chats. Only AI client builds certified to show these notices can set it; any other gets delivery "unsupported" and nothing is set up.
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": {
"account": "<account>",
"chats": "<chats>"
},
"name": "telegram_watch_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chats | Yes | 1 to 20 chat ids from telegram_list_chats of that account (user:… or, with include_groups, chat:…). | |
| account | Yes | Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account. | |
| include_groups | No | Allow basic groups (chat:…). Channels are not supported. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||