Delete a knowledge base document
dosai_delete_knowledge_documentDelete one document from the knowledge base: the bot stops using it at once. Cannot be undone; to fix a text use dosai_edit_knowledge_document instead. Two steps. Editor or above.
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>",
"document_id": "<document_id>"
},
"name": "dosai_delete_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | From dosai_list_projects. | |
| document_id | Yes | From dosai_list_knowledge. | |
| 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. |