edit_node
Modify properties of existing nodes in Godot 4 scenes to update game objects, adjust behaviors, or configure visual elements during development.
Instructions
Modify properties of an existing 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>",
"properties": "<properties>"
},
"name": "edit_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| scenePath | Yes | Scene file path | |
| nodePath | Yes | Node path in scene (e.g. Player/Sprite2D or . for root) | |
| properties | Yes | Properties to set as key=GDScript-value pairs |