game_remove_node
Remove and free a node from the running game's scene tree by specifying its node path. Use this to clean up scenes at runtime.
Instructions
Remove and free a node from the running game's scene tree
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": {
"nodePath": "<nodePath>"
},
"name": "game_remove_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Path to the node to remove |