get_telegram_messages
Fetches new text messages from a Telegram chat by tracking seen updates, so each call returns only unseen messages. Use peek to inspect without consuming.
Instructions
Fetches new text messages from the Telegram chat. Uses an internal offset to track which updates have already been seen, so each call only returns genuinely new messages. On the very first call after server start, all pending updates are returned.
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_telegram_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peek | No | If true, fetches messages without advancing the offset — subsequent calls will return the same messages again. Useful for inspecting without consuming. (default: false) | |
| limit | No | Maximum number of recent messages to return (default: 10). |