modify_scene_node
Updates node properties in a Godot scene file headlessly using the project path, scene path, node path, and key-value property pairs.
Instructions
Modify node properties in a scene file (headless)
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": "modify_scene_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Path to the node within the scene (e.g., "root/Player/Sprite2D") | |
| scenePath | Yes | Scene file path (relative to project) | |
| properties | Yes | Properties to set on the node as key-value pairs | |
| projectPath | Yes | Godot project path |