scan_sessions
Read multiple WeChat sessions in bulk and filter messages by time, keywords, or sender. Returns per-group results and offsets, scanning only specified groups for summarizing discussions.
Instructions
批量读取指定会话并按时间、关键词any/all、发送者ID筛选,适合多群议题、信息和资源汇总。逐群返回失败、覆盖范围和续读offset;不扫描未指定的群。
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": {
"session_ids": "<session_ids>"
},
"name": "scan_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offsets | No | ||
| end_time | No | ||
| keywords | No | ||
| match_mode | No | ||
| sender_ids | No | ||
| start_time | No | ||
| session_ids | Yes | ||
| context_after | No | ||
| context_before | No | ||
| per_session_limit | No |