blender_shader_graph_edit
Applies batched shader graph patches in Blender: add or remove nodes, set inputs and properties, edit color ramps, connect or disconnect sockets, and move nodes atomically.
Instructions
Patch shader nodes, all or nothing. operations (max 64): add_node{id,type,properties?,inputs?,location?}, remove_node{node}, set_input{node,socket,value}, set_property{node,property,value}, set_color_ramp{node,stops:[{position,color}],interpolation?}, connect{from,from_socket,to,to_socket,replace?}, disconnect{to,to_socket}, move_node{node,location}. Each has 'op'. type is a Blender idname such as ShaderNodeTexNoise; get socket IDs from blender_shader_graph_inspect.
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": {
"operations": "<operations>"
},
"name": "blender_shader_graph_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| world | No | ||
| material | No | ||
| group_path | No | ||
| operations | Yes | ||
| shared_data | No | error |