modify_node_property
Change property values on nodes within Godot .tscn scene files to adjust game object behavior and attributes during development.
Instructions
Set or change a property value on a node in a .tscn scene file.
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": {
"scene": "<scene>",
"nodePath": "<nodePath>",
"property": "<property>"
},
"name": "modify_node_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | Path to the .tscn file | |
| nodePath | Yes | Node path within the scene | |
| property | Yes | Property name to set | |
| value | No | Property value. Use TSCN syntax strings for complex types (e.g. "Vector2(1, 2)") | |
| expectedHash | No | Expected content hash for stale-edit prevention |