Get Contact Detail (person or group)
whatsapp_get_contactRetrieve detailed information about a WhatsApp contact or group by stable ID, including phone, names, chats, and group members.
Instructions
Detail for a single contact — person OR group, by stable id.
Returns shape depends on kind:
Person: contact (phone, names, email, org), all chats they appear in, all JID variants, message stats.
Group: chat (group metadata), members with display names, member_count.
Args:
contactId: phone digits (person; "5521986910666"), or "*@g.us" (group). Look up via whatsapp_list_contacts.
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": {
"contactId": "<contactId>"
},
"name": "whatsapp_get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | Phone digits for a person, or "*@g.us" for a group |