List Chats
wa_list_chatsList one account's conversations — direct chats, groups and channels — most recently active first, each with its JID, type, archive status (is_archived) and when it was last active. Use it to see which chats exist and which are archived; pass exclude_archived to leave archived chats out. Read a chat's messages with wa_get_chat or wa_list_messages.
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": "wa_list_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | how many conversations to return, 1-200; defaults to 50, most recently active first | |
| account_id | No | the account whose chats to list, from wa_list_accounts; omit it when the workspace has only one account | |
| exclude_archived | No | omit chats you have archived on WhatsApp (as last synced from the phone); off by default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chats | Yes | the account's conversations, most recently active first | |
| account | No | the account these chats belong to | |
| refusal | No | present only when the request was declined | |
| account_notices | No | present when this number is not working: new messages are not arriving on it; says why and what to do |