获取群历史消息
get_group_msg_historyRetrieve chat history from a specified QQ group. Set the starting message sequence, limit the number of messages, and choose reverse chronological order for flexible retrieval.
Instructions
获取指定群的聊天记录(从 message_seq 起始,最多 count 条)。
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_group_msg_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 获取数量,默认20 | |
| group_id | Yes | 群号 | |
| message_seq | No | 起始消息序号,缺省为最新 | |
| reverse_order | No | 是否按时间倒序 |