get_contact_groups
List the WhatsApp groups a contact belongs to using their full @c.us JID, reading cached chat metadata without network access.
Instructions
List the WhatsApp groups a specific contact participates in. Reads from cached chat metadata — no network.
Examples: Groups for contact: { jid: "5491155550001@c.us" }
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": {
"jid": "<jid>"
},
"name": "get_contact_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | Contact JID — must be the full @c.us form (phone alone not accepted here) |