toggle_ephemeral
Set disappearing messages for WhatsApp groups by specifying expiration in seconds (0, 86400, 604800, or 7776000). Control group message privacy with timer-based auto-deletion.
Instructions
Set disappearing messages for a group (expiration in seconds: 0, 86400, 604800 or 7776000).
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": {
"instanceName": "<instanceName>",
"groupJid": "<groupJid>",
"expiration": "<expiration>"
},
"name": "toggle_ephemeral"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupJid | Yes | Group JID, e.g. 120363012345678901@g.us | |
| expiration | Yes | 0 (off), 86400 (24h), 604800 (7d) or 7776000 (90d) | |
| instanceName | Yes | Name of the Evolution API instance |