Rubika (own account): delete
rubika_web_delete_messagesDelete one or more Rubika messages from a chat, optionally for everyone where allowed; explicit confirmation is required because deletion 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 RUBIKA_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": "rubika_web_delete_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or an object guid from messaging_web_list_chats | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| messageIds | Yes | messageIds from read_chat. | |
| forEveryone | No |