editor_remove_node
Remove a node and its children from the currently open Godot scene, with undo support via Ctrl+Z.
Instructions
Removes a node (and its descendants) from the scene open in the Godot editor (live, undoable with Ctrl+Z).
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>"
},
"name": "editor_remove_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | ||
| scene_path | No | Optional safety check: fail unless this is the scene currently open in the editor |