list_chats
Retrieve WhatsApp chats ordered by recent activity, including JID and unread counts. Filter by chat name, number, or unread status to find conversations needing attention.
Instructions
List chats, most recently active first, with each chat's JID and unread 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": "list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Filter by chat name or number. | |
| unread_only | No | Only chats with unread messages. |