get_chat_messages
Retrieve messages from a specified chat using bot and chat IDs, with limit and offset controls for paginated results.
Instructions
Get messages from a specific chat
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": {
"bot_id": "<bot_id>",
"chat_id": "<chat_id>"
},
"name": "get_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to return | |
| bot_id | Yes | The ID of the bot | |
| offset | No | Offset for pagination | |
| chat_id | Yes | The ID of the chat |