client_acceptInvite
Accepts a WhatsApp group invitation by using the invite code and session ID, letting the AI agent join the group.
Instructions
[Client] Accept an invitation to join a 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": "client_acceptInvite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| inviteCode | No | Invitation code |