remove_node
Delete a node and its children from an existing Godot scene to modify scene structure. Specify the project path, scene file, and node path.
Instructions
Remove a node (and its children) from an existing 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>"
},
"name": "remove_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Node path like root/Player (cannot be root) | |
| scenePath | Yes | Scene file relative to project | |
| projectPath | Yes | Path to the Godot project directory |