editor_set_properties
Set node properties in the open Godot editor scene live, with undo support via Ctrl+Z. Use Godot syntax for values.
Instructions
Sets properties on a node in the scene open in the Godot editor (live, undoable with Ctrl+Z, not saved until editor_save_scene).
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>",
"properties": "<properties>"
},
"name": "editor_set_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Path in the open scene, "." for the root | |
| properties | Yes | Godot-syntax values, e.g. { "position": "Vector2(100, 50)", "visible": "false" } | |
| scene_path | No | Optional safety check: fail unless this is the scene currently open in the editor |