Set Node Property
godot_set_node_propertyModify node properties in Godot scenes by specifying node paths and property values to update position, visibility, texture, or other attributes.
Instructions
Sets one or more properties on an existing node.
Args:
node_path (string): Full node path e.g. "/root/Main/Player"
properties (object): Key/value pairs to set. Values must be JSON-serialisable Godot variants. Common keys: "position", "rotation", "scale", "visible", "modulate", "text", "texture"
scene_path (string, optional): Scene to modify. Defaults to active scene.
Returns: Updated property values.
Examples:
Use when: "Move the Player to position (100, 200)" -> properties: { "position": {"x": 100, "y": 200} }
Use when: "Hide the HUD node" -> properties: { "visible": false }
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": {
"node_path": "<node_path>",
"properties": "<properties>"
},
"name": "godot_set_node_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node path to update | |
| properties | Yes | Properties to set as key/value pairs | |
| scene_path | No | Scene to modify. Omit for active scene. |