insert_nested_block
Insert a new block as a child or sibling of an existing LogSeq block, enabling nested hierarchies with optional properties and content.
Instructions
Insert a new block as a child or sibling of an existing block, enabling nested hierarchical structures
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_block_uuid | Yes | UUID of the reference block. If sibling=false, new block becomes a CHILD of this UUID. If sibling=true, new block becomes a SIBLING of this UUID (at the same level). | |
| content | Yes | Content text for the new block | |
| properties | No | Optional block properties (e.g., {'marker': 'TODO', 'priority': 'A'}) | |
| sibling | No | false (default) = insert as CHILD under parent_block_uuid. true = insert as SIBLING after parent_block_uuid at the same level. For multiple children under same parent, ALWAYS use false with the parent's UUID. |