search_contacts
Find WhatsApp contacts by name, alias, or partial phone number and return one merged JID per person for use as the chat identifier in other tools.
Instructions
Find people by name, alias or part of a phone number.
Returns each person once with all JIDs (phone form and LID form are merged).
Use the returned jid as chat in other tools.
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 | ||
| account | No | Account from list_accounts when several WhatsApp numbers are set up; default: default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||