list_contacts
Retrieve WhatsApp contacts from the encrypted local cache, with search, saved-filter and pagination. Phone-backed entries only, deduplicated.
Instructions
List WhatsApp contacts from the encrypted DBR3 cache (no network). Results are deduplicated by phone number — the same person across multiple labels collapses to one row. Saved contacts sort before unsaved, then alphabetically by display name. WhatsApp "@lid" privacy identifiers (opaque, non-dialable) are always excluded — only real phone-backed contacts are returned.
Examples: All contacts: {} Saved contacts only: { is_my_contact: true } Search by name: { query: "Maria" } Page 2 of 50: { limit: 50, offset: 50 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max contacts to return (default 50, max 500) | |
| query | No | Case-insensitive substring matched against name, pushname, phone, and JID | |
| offset | No | Skip N contacts for pagination (default 0) | |
| is_my_contact | No | If true, only contacts saved in the user address book. If false, only un-saved contacts. Omit to include both. |