wecom_query_messages
Query decrypted chat records saved locally. Filter by group, sender, message type, or keyword with pagination.
Instructions
查询本地已保存的解密聊天记录。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wecom_query_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数上限 | |
| offset | No | 分页偏移 | |
| roomid | No | 按群聊 roomid 过滤 | |
| keyword | No | 按关键词全文搜索 | |
| msgtype | No | 按消息类型过滤(text、image、file 等) | |
| from_user | No | 按发送者 userid 过滤 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||