set_node_properties
Update node properties in a Godot scene with type-checked values and save changes in one call.
Instructions
Set node properties in a scene in one Godot process. Always-array: one update for a one-off edit. Each value is checked against the property's declared type, never stored as a zero (Property Values in docs/tools.md). A Dictionary or Array value replaces the stored one whole; send every key. Saves once. Returns: results[], one per update in input order, each with success, error or skipped; warnings leads when a value is set but not saved. Errors while a runtime session is live.
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>",
"updates": "<updates>"
},
"name": "set_node_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | Property updates to apply | |
| scenePath | Yes | Scene file path relative to the project | |
| projectPath | Yes | Path to the Godot project directory | |
| abortOnError | No | Stop processing on first error (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| warnings | No | Present when an update succeeded on the loaded scene but the scene file does not store it (a script variable declared without @export), naming the update index, or when the save dropped content no update asked to change. |