set_node_property
Set a property on any node in a Godot scene with automatic type coercion for values like vectors, colors, and resources.
Instructions
Set a property on an existing node in a scene. Values are coerced to the property type (e.g. [x,y] -> Vector2, "res://..." -> resource).
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>",
"value": "<value>"
},
"name": "set_node_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene file | |
| nodePath | Yes | Path to the node within the scene | |
| property | Yes | Property name (e.g. position, modulate, text) | |
| value | Yes | The value to set (number, string, bool, [x,y] array, {r,g,b,a} object, etc.) |