Get Full Message History from Chat
get_historyRetrieve full chronological message history from any Telegram chat up to a set limit. Use it to ingest or summarize conversations before analysis.
Instructions
Retrieve complete chronological message history from a chat up to the configured limit. Use when ingesting or summarizing a conversation. Read-only operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items or records to retrieve (integer between 1 and 100). | |
| account | No | Optional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts. | |
| chat_id | Yes | Target Telegram chat, group, supergroup, channel, or user identifier. Accepts numeric chat ID (e.g. -1001234567890 or 123456789), username (e.g. '@channel'), or phone number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |