wechat_list_chats
List accessible WeChat direct, group, and official-account chat sessions with IDs, names, types, message cursors, and member counts; filter by keyword or session type.
Instructions
List accessible macOS/Windows WeChat chat sessions across 1-on-1 direct chats (wxid_* / custom aliases / filehelper), group chats (@chatroom / @im.chatroom), and official accounts (gh_*), including chat_id, chat_name, chat_type, latest_msg_id cursor, 24h message count, and member count.
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": "wechat_list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Force immediate SQLCipher decryption and SQLite snapshot refresh. | |
| format | No | json | |
| keyword | No | Optional case-insensitive keyword filter for chat name, wxid, or alias. | |
| chat_type | No | Filter by session type: 'all' (default), 'direct', 'group', or 'official'. | all |
| include_blocked | No | Whether to include chats blocked by current scope or blacklist/whitelist policy. |