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.
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 |