list_chats
List recent WhatsApp chats (1:1 and groups) ordered by most recent activity from the 7-day sync buffer, with names and last message preview.
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 | Maximum number of recent chats to return (default: 20, max: 100) | |
| query | No | Optional case-insensitive filter matched against chat name, phone number, or last message text |