set_node_property
Set a property on a node in a Godot scene by specifying the scene path, node path, property name, and new value.
Instructions
Set a property on a node in a 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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>",
"nodePath": "<nodePath>",
"propertyName": "<propertyName>",
"propertyValue": "<propertyValue>"
},
"name": "set_node_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Path to the node (e.g., "root/Player") | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| projectPath | Yes | Path to the Godot project directory | |
| propertyName | Yes | Name of the property to set | |
| propertyValue | Yes | Value to set (can be string, number, boolean, or object for Vector2/Color etc) |