insert_adjacent_schema
Insert a schema node at specified positions relative to a target node in NocoBase UI schemas, supporting beforeBegin, afterBegin, beforeEnd, and afterEnd placements.
Instructions
Insert a schema node at a position relative to a target node. Position values: beforeBegin (prev sibling), afterBegin (first child), beforeEnd (last child), afterEnd (next sibling)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Target UI schema UID to insert relative to | |
| schema | Yes | New schema node to insert (JSON) | |
| position | Yes | Insert position relative to the target node |