blender_set_shader_input
Assign a value to a named socket on a shader node, removing the need to guess socket indices.
Instructions
Set one input socket on one node, by name. No guessing at socket indices.
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": {
"material": "<material>",
"node": "<node>",
"socket": "<socket>",
"value": "<value>"
},
"name": "blender_set_shader_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name in the graph. | |
| value | Yes | Value; a list of 3-4 for colours. | |
| socket | Yes | Input socket name, e.g. 'Base Color'. | |
| material | Yes | ||
| response_format | No | 'markdown' for readable output, 'json' for raw structured data. | markdown |