add_node
Add a new node to an existing Godot scene by specifying type, name, parent path, and optional properties, using the project and scene paths.
Instructions
Add a node to an existing Godot scene via the GDScript engine.
Args: project_path: Absolute path to the Godot project directory. scene_path: Scene path relative to project. node_type: Godot class name for the new node (e.g. Sprite2D). node_name: Name for the new node. parent_node_path: Node path of the parent (default: 'root'). properties: Optional dict of property_name -> value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | ||
| node_type | Yes | ||
| properties | No | ||
| scene_path | Yes | ||
| project_path | Yes | ||
| parent_node_path | No | root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |