duplicate_node
Duplicates a node and its subtree within a Godot scene, with an optional new name for the copy.
Instructions
Duplicate a node subtree within a scene
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene file | |
| nodePath | Yes | Path to the node to duplicate | |
| newName | No | Optional name for the duplicate |