node_duplicate
Duplicate a node in a Godot scene. Provide project path, scene path, node path, and optional new name to create the copy.
Instructions
Duplicate a node in a scene.
Category: Node
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_path: Path to the node to duplicate (e.g., "root/Player") new_name: Optional name for the duplicate (default: original name + number)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| node_path | Yes | ||
| new_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |