list_chats
Retrieve and filter WhatsApp chats and groups by recent activity, title, or JID to locate conversations for messaging or analysis.
Instructions
List chats (people and groups) by most recent activity, optionally filtered by title or JID.
One person may have two JIDs (phone and LID); they are shown as one entry with both JIDs.
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 | ||
| offset | No | ||
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||