Move Folder
move_folderMove a folder and its entire subtree (documents, versions, annotations) to a new parent directory. Parent folders are created automatically; moving into own subtree is rejected.
Instructions
Move a folder (with its whole subtree: documents, versions, annotations) under a new parent. new_parent_path '' or omitted = move to the root. Parent folders are auto-created. Moving a folder into its own subtree is rejected by the server.
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": {
"path": "<path>"
},
"name": "move_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Current POSIX path of the folder to move. | |
| new_parent_path | No | POSIX path of the destination PARENT folder. Empty/omitted = root. |