WhatsApp List Chats
whatsapp_list_chatsLists WhatsApp conversations with last message preview. Returns chat IDs, contact names, and recent message snippets. Some contacts may appear with @lid identifiers (e.g. 123456@lid) instead of phone numbers — this is a WhatsApp privacy feature for certain account types; use the Name field for display and the JID/chat_id for subsequent calls.
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 |
|---|---|---|---|
| limit | No | Max chats to return (default 50) | |
| account | No | Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chats | Yes | WhatsApp conversations with last message preview | |
| account | No | The label of the WhatsApp account this call used. | |
| account_id | No | The id of the WhatsApp account this call used. |