Delete a sent message from the conversation history
dosai_delete_messageRemove a message the business sent (by the bot or an operator) from the history in the cabinet. ONLY there: the client keeps the message in his messenger, it cannot be withdrawn from his phone. Outgoing messages only, not older than 24 hours. Message ids: dosai_get_messages. Two steps. Requires editor role.
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": {
"project_id": "<project_id>",
"conversation_id": "<conversation_id>",
"message_id": "<message_id>"
},
"name": "dosai_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ||
| project_id | Yes | From dosai_list_projects. | |
| confirm_token | No | Leave empty on the first call: it changes nothing and returns what will happen and a code. Ask the owner; only after their explicit "yes" call again with the same arguments and this code. | |
| conversation_id | Yes | From dosai_list_conversations. |