add_node
Add a node of a specified type to a Godot scene, setting its name and optionally its parent and properties.
Instructions
Add a node to an existing scene in a Godot project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| nodeType | Yes | Type of the node to add (e.g., Node2D, Sprite2D, RigidBody2D) | |
| nodeName | Yes | Name for the new node | |
| parentNodePath | No | Path to the parent node (optional, defaults to root) | |
| properties | No | Additional properties to set on the node (optional) |