Search WhatsApp contacts
search_contactsSearch WhatsApp contacts by partial or uncertain name to find matching names and phone numbers before sending a message.
Instructions
Search the user's WhatsApp contacts by name (case-insensitive substring). Returns matching names with phone numbers. Use this to resolve the exact contact name before send_message when the user gives a partial or uncertain name.
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 |
|---|---|---|---|
| query | Yes | Name fragment to search for |