clear_document
Remove all chunks and embeddings for a given document path from Mimir's memory, returning the count cleared; no-op if the path was never loaded.
Instructions
Remove all chunks and embeddings for a given document path. Returns {"cleared": N}. No-op if the path was never loaded.
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": {
"path": "<path>"
},
"name": "clear_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |