get_chat_history
Retrieve group chat messages from the last 7 days using the group ID. Supports pagination with a cursor and adjustable page size (1-100).
Instructions
Obtain the group chat history (messages sent within 7 days)
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": {
"group_id": "<group_id>"
},
"name": "get_chat_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Cursor for pagination | |
| group_id | Yes | The ID of the group chat | |
| page_size | No | Number of messages included in one response (1-100) |