remove_shader_graph_node
Remove a node from a VisualShader graph in a Godot project by specifying its index. Use read_visual_shader to find the node index first.
Instructions
Remove a node from a VisualShader graph by index.
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": {
"path": "<path>",
"node_index": "<node_index>"
},
"name": "remove_shader_graph_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to VisualShader .tres file | |
| node_index | Yes | Node index to remove (0-based, use read_visual_shader to see indices) |