Soroush Plus (own account): edit
soroushplus_web_edit_messageEdit the text or caption of an existing Soroush Plus message, requiring explicit user approval and allowed-chat/environment checks before applying the change.
Instructions
Replace the text or caption of one of the user's messages. 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>",
"messageId": "<messageId>",
"text": "<text>",
"confirm": "<confirm>"
},
"name": "soroushplus_web_edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| 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. | |
| messageId | Yes | messageId from read_chat. |