clone_node
Copy a node from a Godot scene, including all descendants, with optional new name and parent assignment.
Instructions
Deep-clone a node in a scene.
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": {
"scene_path": "<scene_path>",
"clone_source": "<clone_source>"
},
"name": "clone_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name (default: "name_copy") | |
| scene_path | Yes | Path to .tscn file | |
| parent_path | No | New parent (default: same as source) | |
| clone_source | Yes | Source node path to clone |