node_add
Add a node to a Godot scene by specifying type, name, parent path, and optional properties.
Instructions
Add a node to an existing scene.
Category: Node
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_type: Type of node to add (e.g., Sprite2D, CollisionShape2D) node_name: Name for the new node parent_node_path: Path to the parent node (e.g., "root" or "root/Player") properties: Optional properties to set on the node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| node_type | Yes | ||
| node_name | Yes | ||
| parent_node_path | No | ||
| properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |