Delete a folder's index
forget_folderDelete the cached search index for a folder after it is moved, renamed, or no longer needs indexing; the folder’s files remain untouched, and searching it again rebuilds the index.
Instructions
Delete the search index search_folder built for a folder, for example after the folder was moved or renamed, or to free disk space. Only the index in Kjarni's cache is deleted; the folder and its files are never touched, and the next search_folder there indexes it again. Returns whether there was an index to delete. A folder searched through the index of a folder containing it has no index of its own: forget that containing folder, as list_indexes shows it.
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": "forget_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the folder whose index to delete, as list_indexes shows it; it may no longer exist. |