reparent_node
Change a node's parent to a different node in the Godot scene tree, optionally preserving its global transform.
Instructions
Reparent a node to a new 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": {
"node_path": "<node_path>",
"new_parent_path": "<new_parent_path>"
},
"name": "reparent_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | ||
| new_parent_path | Yes | ||
| keep_global_transform | No |