telegram_messages_get
Retrieve recent Telegram chat history or context around a specific message in deterministic, read-only order for conversation review and analysis.
Instructions
Fetches recent message history or context around a specific message in a chat in deterministic order. Read only.
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_messages_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | history | |
| after | No | ||
| limit | No | ||
| before | No | ||
| offset | No | ||
| chat_id | Yes | ||
| message_id | No | ||
| from_message_id | No |