duplicate_node
Duplicate any node in a Godot scene, optionally renaming it or assigning a new parent.
Instructions
Duplicate a node within a scene, optionally with a new name or different parent
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>",
"nodePath": "<nodePath>"
},
"name": "duplicate_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | No | Name for the duplicated node | |
| nodePath | Yes | Path to the node to duplicate | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| projectPath | Yes | Path to the Godot project directory | |
| parentNodePath | No | Path to parent for the duplicate (default: same parent as original) |