kb_move_file
Move or rename a single file or folder, including restoring items from _Trash, while keeping the search index and INDEX.md synchronized.
Instructions
Move (and optionally rename) one file or folder. For many, use kb_organize.
Also restores items from _Trash. The search index is kept in sync and INDEX.md refreshes automatically.
:param src_rel: Current path, e.g. _Inbox/report.pdf or a folder.
:param dest_dir_rel: Target directory, e.g. 01_Documents.
:param new_name: Optional new filename; the extension is kept if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src_rel | Yes | ||
| new_name | No | ||
| dest_dir_rel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |