Set disappearing messages
set_disappearing_timerTurn disappearing messages on or off for a specific chat or set the default timer for new chats. Existing messages remain stored.
Instructions
Turn disappearing messages on or off: for one chat with chatId, or without it the account's default timer, which new chats start with. Messages already stored in wuapi are kept.
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": {
"accountId": "<accountId>",
"durationSeconds": "<durationSeconds>"
},
"name": "set_disappearing_timer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | The chat (a contact or group id). Omit it to set the account's default for new chats. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). | |
| durationSeconds | Yes | How long messages last: 86400 (24 hours), 604800 (7 days) or 7776000 (90 days). 0 turns disappearing messages off. |