List WhatsApp chats
list_chatsLists recent WhatsApp conversations to get chat IDs for other tools. Returns details like name, unread count, and last message, ordered by most recent activity.
Instructions
List conversations, most recently active first. Use it to discover the chat_id values the other tools need.
Each chat has: chat_id, name, type, unread_count, last_message {text, timestamp, from_me}, archived, pinned, muted_until, and left (groups you are no longer in).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of chats (1-100) | |
| filter | No | Which chats to list; "all" (default) excludes archived ones | all |
| account_id | No | Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account. |