Reparent Native Mindmap Node
reparent_mindmap_nodeMove a mindmap node and all its descendants to a new parent in the same native mindmap, optionally reordering siblings with beforeId while preserving collapsed state.
Instructions
Move a node with all descendants to a parent in the SAME native mindmap; beforeId optionally reorders siblings. Rejects root moves, cycles, missing/foreign IDs. Preserve collapsed state. One shared MCP server serializes workspace mutations; independent servers and native editors have no compare-and-swap protection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| nodeId | Yes | ||
| beforeId | No | ||
| parentId | Yes | ||
| mindmapId | Yes | ||
| workspaceId | No | ||
| expectedRevision | No | Optional read_doc revision of this primary document. Reject stale content before writing. Covers document content, not workspace metadata; requires all writers to share one MCP server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| docId | No | ||
| error | No | ||
| nodes | No | ||
| style | No | ||
| layout | No | ||
| locked | No | ||
| nodeId | No | ||
| rootId | No | ||
| details | No | ||
| causeCode | No | ||
| mindmapId | No | ||
| nodeCount | No | ||
| retryable | No | ||
| layoutType | No | ||
| workspaceId | No | ||
| lockedBySelf | No | ||
| surfaceBlockId | No | ||
| lockedByAncestor | No | ||
| recoveryGuidance | No | ||
| supportedLayouts | No |