Soroush Plus bot: delete
soroushplus_bot_delete_messageDeletes a message the bot sent in an allowed Soroush Plus chat, group, or channel; irreversible and requires explicit confirmation before removal.
Instructions
Delete a message the bot sent. Cannot be undone. Needs confirm: true, the chat in SOROUSHPLUS_ALLOWED_CHAT_IDS 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>",
"messageId": "<messageId>",
"confirm": "<confirm>"
},
"name": "soroushplus_bot_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Soroush Plus chat, group or channel id for the bot. | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| messageId | Yes | Id of a message this bot sent. |