duplicate_node
Duplicate a node in an existing Godot scene as a sibling, with an optional new name, so you can reuse and modify scene objects without manual copying.
Instructions
Duplicate a node in an existing scene as a sibling
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 | Optional name for the copy (defaults to <name>Copy) | |
| nodePath | Yes | Node path like root/Player | |
| scenePath | Yes | Scene file relative to project | |
| projectPath | Yes | Path to the Godot project directory |