node_set_property
Set a property value on a node in a Godot scene. Specify project, scene, node path, property name, and value to update properties like position, scale, or visibility.
Instructions
Set a property value on a node in a scene.
Category: Node
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_path: Path to the node (e.g., "root" or "root/Player") property_name: Name of the property to set (e.g., "position", "scale", "visible") property_value: Value to set (supports int, float, string, bool, dict for Vector2/3, list)
Returns: Success message or error description
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"node_path": "<node_path>",
"property_name": "<property_name>",
"property_value": "<property_value>"
},
"name": "node_set_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| node_path | Yes | ||
| property_name | Yes | ||
| property_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |