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 ...").
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": {
"relpath": "<relpath>"
},
"name": "kb_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| relpath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |