join_group_with_link
Join a WhatsApp group by providing an invite URL or invite code. The group appears in your chat list with a 'joined via invite link' notice.
Instructions
Join a WhatsApp group via a chat.whatsapp.com/<code> invite URL or the bare invite code; existing members see a joined via invite link system message and the new chat appears for the paired user. Reversible via leave_group (which is itself permanent). Use get_group_invite_link to mint or read invite links. Returns a JSON object {jid} containing the joined group's JID.
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": {
"link_or_code": "<link_or_code>"
},
"name": "join_group_with_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_or_code | Yes | full invite URL (`https://chat.whatsapp.com/<code>`) or just the trailing invite code |