move_node
Move a node to a new parent within a CherryTree document, ensuring safe writes through automatic rollback and byte-level audit.
Instructions
Move a node under a different parent.
Args: node_id: Node to move. new_parent_id: Destination parent (0 = top-level).
Returns: Confirmation message followed by byte-by-byte audit report. On XML parse failure, backup is restored automatically (ROLLBACK).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| new_parent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |