remove_directory
Remove indexed files and chunks under a specified path from the local search index to clean up persistent state without deleting the entire database.
Instructions
Removes every indexed file/chunk under path from the index. The
index is persistent local state in ~/.local-notes-search/ (or
LOCAL_NOTES_SEARCH_DB) - this is how you clean it up without deleting
the whole database file.
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": "remove_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |