Telegram Read Messages
telegram_read_messagesReads recent messages of one Telegram chat, newest first. chat_id MUST come from telegram_list_chats. For older messages pass the returned next_before as before. Requires Telegram connected (telegram_connect).
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_id": "<chat_id>"
},
"name": "telegram_read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages (default 30, max 100). | |
| before | No | Only messages older than this message id (the `next_before` of a previous read). | |
| account | No | Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account. | |
| chat_id | Yes | Chat id from telegram_list_chats. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||