Soroush Plus (own account): delete
soroushplus_web_delete_messagesDelete specified Soroush Plus chat messages with required confirmation; optionally remove them for everyone where allowed. This action cannot be undone.
Instructions
Delete messages; forEveryone (default true) also removes them for the other side where allowed. Cannot be undone. Needs confirm: true after the user approves, the chat in SOROUSHPLUS_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.
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": {
"chatId": "<chatId>",
"messageIds": "<messageIds>",
"confirm": "<confirm>"
},
"name": "soroushplus_web_delete_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or a numeric chatId from messaging_web_list_chats (channels and groups are negative) | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| messageIds | Yes | messageIds from read_chat. | |
| forEveryone | No |