set_node_input
Set values for material node input sockets in Blender by specifying node, socket, and value. Socket can be identified by name, index, or 'Name#2'.
Instructions
设置某节点某输入插槽的值(插槽可用名字、索引或 'Name#2')。
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": "set_node_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| value | Yes | ||
| socket | Yes | ||
| material | Yes |