get_history
Retrieve recent messages from a Telegram chat in reverse chronological order, read-only without marking them as read.
Instructions
Read the most recent messages of a chat, newest first. Read-only: this 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": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat identifier from list_chats or search_chats: a numeric chat_id, a @username, or "me" for Saved Messages. Do not invent one. | |
| limit | No |