Delete a sent message for everyone
delete_messagePermanently deletes a WhatsApp message sent by this instance for all chat participants; use only on explicit request because the action is irreversible.
Instructions
Deletes a message sent by this instance for all participants of the chat. Irreversible. Only works on messages the instance itself sent. Use only on explicit user request.
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": {
"message_id": "<message_id>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | Chat the message belongs to (recommended). | |
| message_id | Yes | Id of the sent message. | |
| instance_id | No | ZapZap instance id (a connected WhatsApp number). Optional when ZAPZAP_INSTANCE_ID is configured; otherwise call list_instances first. |