wa_group_invite_link
Retrieve a WhatsApp group invite link when the bot is a member, or set revoke=true to revoke the current link and issue a fresh one.
Instructions
Get the invite link of a group (the bot must be a member; admin needed to revoke). Set revoke=true to revoke the current link and issue a fresh one..
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": {
"group_jid": "<group_jid>"
},
"name": "wa_group_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revoke | No | ||
| group_jid | Yes | Group JID ...@g.us |