create_node
Creates a node of any class in the open Godot scene and places it at the scene root or under a specified parent. Supports undo for safe scene editing.
Instructions
Create a node of the given class and add it to the open scene (undoable). parent = a node path/name (default: scene root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | node class, e.g. Sprite2D | |
| parent | No | parent node path/name; default scene root |