search_contacts
Search WhatsApp contacts and chats by name or phone number to retrieve their phone numbers.
Instructions
Search contacts and chats by name or phone number; returns their phone numbers.
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 |