kb_trash
Remove a file or folder from the knowledge base recoverably by moving it to dated _Trash storage, keeping it unindexed; restore it later with kb_move_file.
Instructions
Remove a file or folder from the knowledge base -- recoverably.
It is moved to _Trash/<today>/ (not indexed, not in INDEX.md). Restore
with kb_move_file; empty _Trash in Finder when you are sure.
:param relpath: e.g. "03_Notes/重复的笔记.md". :param reason: Optional note for the organize log (e.g. "duplicate of ...").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| relpath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |