Get a contact
get_contactRead a contact's stored names from a WhatsApp channel's contact store using a JID or LID, without querying WhatsApp.
Instructions
Read this channel's stored entry for one contact (the names its contact store holds); this does not ask WhatsApp. who is a phone JID such as 15551234567@s.whatsapp.net, or a LID.
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": {
"who": "<who>"
},
"name": "get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | Yes | The contact: a user JID or a LID. |