search_contacts
Find WhatsApp contacts by name, partial name, phone number, or JID and return matched names, numbers, JIDs, and last interaction timestamps to identify who you need.
Instructions
Search contacts across WhatsApp chat sessions and contact records. Returns matched contact names, phone numbers, JIDs, and last interaction timestamps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of contact matches to return (default 30, max 100). | |
| query | Yes | Name, partial name, phone number, or JID to search for. |