create_cop_node
Create a COP node under a Copernicus parent, ensuring the parent is editable and the node type exists in the Cop registry. Optionally set a node name, all within one undo group.
Instructions
在 Copernicus parent 下创建节点(add-cops-tools,MUTATING)。
校验 parent 可编辑且 child category 为 "Cop",node_type 必须在 Cop
registry 中存在;单 undo group。``node_name`` 可选。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| node_name | No | ||
| node_type | Yes | ||
| parent_path | Yes |