read_messages
Retrieve recent messages from a specified Telegram chat or channel to review activity or gather conversation context.
Instructions
Read the most recent messages from a chat/channel.
Args: chat_id: numeric dialog id, as returned by list_dialogs. limit: max number of messages to return (most recent first).
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": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chat_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |