Search chats
find_chatsSearch WhatsApp chats by name, group status, archive, block, pin, or label to retrieve chat IDs and metadata, then use the ID to read a conversation's messages.
Instructions
Searches the instance's chats with filters (name, group or not, archived, blocked, pinned, label). Returns chat ids and metadata, newest activity first by default. Use to find the chat id/number of a conversation before reading its messages. Read-only; paginate with limit/offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Match on contact or chat name. | |
| limit | No | Max results (default 20). | |
| offset | No | Records to skip, for pagination. | |
| pinned | No | ||
| blocked | No | ||
| archived | No | ||
| is_group | No | true = only groups, false = only private chats. | |
| instance_id | No | ZapZap instance id (a connected WhatsApp number). Optional when ZAPZAP_INSTANCE_ID is configured; otherwise call list_instances first. |