read_chat
Retrieve recent Telegram messages from a channel, group, or conversation in chronological order. Accepts a username, t.me link, or numeric ID, with read-only access that avoids marking messages as read.
Instructions
Read recent messages from one channel, group or conversation, returned oldest-first. Accepts a @username, a t.me link, or a numeric id from list_chats. Read-only: reading here does not mark anything as read.
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": "<chat>"
},
"name": "read_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | @username, t.me link, or numeric id. | |
| limit | No | Max messages, capped at 200. Default 30. | |
| since | No | Stop once messages are older than this ISO-8601 date. | |
| before | No | Start from this ISO-8601 date, going backwards. | |
| after_id | No | Only messages newer than this id. | |
| before_id | No | Only messages older than this id — page backwards. |