get_chat_history
Read recent buffered messages from a specified WeChat chat or group by chat name, limited by buffer capacity, for AI agents to review conversation context.
Instructions
读取指定会话在缓冲区内最近的消息。需明确指定会话名称;返回数量受缓冲区容量限制。
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_name": "<chat_name>"
},
"name": "get_chat_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chat_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||