messages_delete
Delete a message from a thread. Supports Telegram, WhatsApp, and other connected channels. Note: Some channels have time limits on message deletion. On an IMAP/SMTP e-mail mailbox the message is MOVED TO THE MAILBOX'S TRASH folder (never erased) and then removed from the inbox here.
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": {
"thread_id": "<thread_id>",
"message_id": "<message_id>"
},
"name": "messages_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | Thread/channel ID containing the message | |
| message_id | Yes | ID of the message to delete | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |