search_contacts
Find WhatsApp contacts by name or phone number and return their JIDs for listing messages or sending text.
Instructions
Find contacts by name or number. Returns each contact's JID for list_messages and send_text.
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 | ||
| query | Yes | Name or phone number. |