search_contacts
Search cached WhatsApp contacts by case-insensitive substring of name or phone number. Returns JSON array with contact details including JID, name, and phone.
Instructions
(reads local cache; works while disconnected) Search the cached WhatsApp contact list by case-insensitive substring of name or phone number. Read-only; no side effects. Use is_on_whatsapp to verify whether an unknown phone number is registered. Returns a JSON array of contact objects (each with JID, push name, full name, and phone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | case-insensitive substring to match against name or phone |