Delete a knowledge document
delete_knowledge_documentRemove a document and its chunks from the knowledge base to stop the assistant from using outdated or irrelevant information immediately.
Instructions
Remove one document (and its chunks) from the knowledge base. Mira stops answering from it immediately.
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": {
"documentId": "<documentId>"
},
"name": "delete_knowledge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | true when the API returned an empty success |