move_subtree
Relocate a thought subtree to a new parent within the same tree. Checks cycles and depth, with optional dry-run to preview changes safely.
Instructions
Move a subtree to a new parent within the same tree. Performs cycle detection, depth validation, and supports dry-run mode for safe preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, preview the move without making changes (default: false) | |
| treeId | Yes | The ID of the tree | |
| newParentId | Yes | The ID of the new parent thought | |
| subtreeRootId | Yes | The ID of the subtree root to move |