get_recent_messages
Read a page of recent messages from one allowed Telegram chat by chat ID or cached name, including message and attachment references for review.
Instructions
Read a useful page (default 50, maximum 100) of latest rendered messages from one allowed chat. Supply exactly one of chatId or chat (unique cached native Telegram name); name resolution is local in this same call. Rechecks exact hash/header identity and newest UI marker. Stable references target full messages and attachments; follow the returned next call for older history. Pages use a 16 KiB JSON budget.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_recent_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| limit | No | ||
| chatId | No |