waha_get_chats
Retrieve recent WhatsApp chats with ID, name, message preview, and unread count. Filter by chat IDs or paginate results to manage conversations efficiently.
Instructions
Get overview of recent WhatsApp chats. Returns chat ID, name, last message preview, and unread count. Default limit is 10 chats.
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": "waha_get_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of chats to retrieve (default: 10, max: 100) | |
| offset | No | Offset for pagination | |
| chatIds | No | Optional filter for specific chat IDs (format: number@c.us) |