get_history
Retrieve chat messages from a Telegram account, newest first. Filter by sender or paginate backward using a message ID to access older history.
Instructions
Сообщения чата, новые первыми. before_id — брать сообщения старше этого id (пагинация вглубь истории). from_user — только от указанного отправителя.
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 | ||
| limit | No | ||
| before_id | No | ||
| from_user | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |