game_reparent_node
Move a node to a new parent in the running game's scene tree, optionally preserving its global transform.
Instructions
Move a node to a new parent in the running game's scene tree
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": {
"nodePath": "<nodePath>",
"newParentPath": "<newParentPath>"
},
"name": "game_reparent_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Path to the node to move | |
| newParentPath | Yes | Path to the new parent node | |
| keepGlobalTransform | No | Whether to keep the global transform. Default: true |