Contact Social Graph
whatsapp_contact_graphRetrieve shared groups and mutual contacts for a WhatsApp number to map their social connections.
Instructions
Get social graph for a WhatsApp contact — shared groups, mutual connections.
Args:
phone: Phone number with country code (e.g., "5524999160115")
Returns:
groups: Groups this contact is in, with message counts
mutualContacts: Other contacts who share groups with this person
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": {
"phone": "<phone>"
},
"name": "whatsapp_contact_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number with country code (e.g., "5524999160115") |