kb_move_file
Moves a file into a category directory and optionally renames it, updating the search index in place so no reindex is needed.
Instructions
Move (and optionally rename) a file into a category directory.
The search index is updated in place — no reindex needed afterwards.
:param src_rel: Current path, e.g. _Inbox/report.pdf.
:param dest_dir_rel: Target directory, e.g. 01_Documents.
:param new_name: Optional new filename; keeps the original when empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src_rel | Yes | ||
| new_name | No | ||
| dest_dir_rel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |