move_node
Reparent a node to a different parent within a Godot scene while automatically updating all descendant paths.
Instructions
Move (re-parent) a node to a different parent within the same scene. All descendant parent paths are updated automatically.
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>",
"newParentPath": "<newParentPath>"
},
"name": "move_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| scenePath | Yes | Scene file path | |
| nodePath | Yes | Current node path (e.g. Player/Sprite2D) | |
| newParentPath | Yes | Path of the new parent node (use . for scene root) |