connect_shader_graph_nodes
Connect two node ports in a VisualShader graph by providing the shader path, source node/port, and target node/port indices.
Instructions
Connect two node ports in a VisualShader graph.
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>",
"from_node": "<from_node>",
"from_port": "<from_port>",
"to_node": "<to_node>",
"to_port": "<to_port>"
},
"name": "connect_shader_graph_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to VisualShader .tres | |
| to_node | Yes | Target node index | |
| to_port | Yes | Target port index | |
| from_node | Yes | Source node index | |
| from_port | Yes | Source port index |