contact_getCommonGroups
Retrieve shared WhatsApp groups between a contact and yourself. Returns an empty array when no common groups exist.
Instructions
[Contact] Get the contact's common groups. Get the contact's common groups with you. Returns empty array if you don't have any common group.
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": {
"sessionId": "<sessionId>"
},
"name": "contact_getCommonGroups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | No | Unique WhatsApp ID for the contact | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |