set_node_reference
Binds an exported Node or NodePath script property to a compatible node in the same scene, preserving script references while executing project constructors.
Instructions
Bind an exported Node or NodePath script property to a compatible node in the same scene. Executes project constructors; preserves script references.
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>",
"property": "<property>",
"targetNodePath": "<targetNodePath>"
},
"name": "set_node_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | ||
| property | Yes | ||
| scenePath | Yes | ||
| projectPath | Yes | ||
| targetNodePath | Yes |