move_node_relative
Reposition outline nodes by moving a selected node and its children to a new location relative to another node, enabling intuitive reorganization of document structure.
Instructions
Move a node (and all its children) to a new position relative to a reference node. This is the intuitive way to reorganize your outline - just specify where you want the node to go.
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": {
"source_url": "<source_url>",
"reference_url": "<reference_url>",
"position": "<position>"
},
"name": "move_node_relative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | Yes | URL of the node to move (with deep link #z=nodeId). The entire subtree (node + all descendants) will be moved. | |
| reference_url | Yes | URL of the reference node that determines the target location | |
| position | Yes | Where to place the node relative to the reference: 'after' = immediately after the reference (same parent, same level), 'before' = immediately before the reference (same parent, same level), 'as_first_child' = as the first child inside the reference node, 'as_last_child' = as the last child inside the reference node |