Wipe a conversation to test the bot from scratch
dosai_clear_conversationReset one conversation so the bot meets this person as a new client: deletes ALL its messages in the cabinet, the leads created from it (with their tasks, reminders and history) and its follow-ups, wipes the collected client data and summary, resets the stage and switches the bot on there. The link to the deal in an external CRM is dropped (the deal itself stays), so the next lead from this person creates a NEW deal there. Messages scheduled for later are not removed (dosai_list_scheduled_messages). Meant for the owner's own test chat, not for a real client. The conversation stays in the list; the client's messenger is not touched. Cannot be undone. 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>"
},
"name": "dosai_clear_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |