whatsapp_list_chats
Lists accessible macOS WhatsApp chat sessions across direct messages, groups, and channels, with metadata and filters for type, keyword, and blocked chats so agents can discover and select conversations.
Instructions
List accessible macOS WhatsApp chat sessions across 1-on-1 direct DMs (@s.whatsapp.net / @lid), group chats (@g.us), and channels (@newsletter), 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": "whatsapp_list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Force immediate SQLite online backup snapshot refresh. | |
| format | No | json | |
| keyword | No | Optional case-insensitive keyword filter for chat name or JID. | |
| chat_type | No | Filter by session type: 'all' (default), 'direct', 'group', 'newsletter', or 'broadcast'. | all |
| include_blocked | No | Whether to include chats blocked by current scope or blacklist/whitelist policy. |