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.
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": {
"src_rel": "<src_rel>",
"dest_dir_rel": "<dest_dir_rel>"
},
"name": "kb_move_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src_rel | Yes | ||
| new_name | No | ||
| dest_dir_rel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |