set_node_properties
Permanently update properties of nodes in a saved Godot scene file (.tscn). Use for persistent edits; for live runtime changes, use set_property.
Instructions
Set properties on a node in a saved scene file (.tscn) on disk permanently. For live runtime changes, use set_property instead.
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>",
"properties": "<properties>"
},
"name": "set_node_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Path to the node (e.g., "root" or "root/Player/Sprite2D") | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| properties | Yes | Properties to set on the node (e.g., {"position": [100, 200], "scale": [2, 2]}) | |
| projectPath | Yes | Path to the Godot project directory |