gn_link
Connects an output socket to an input socket in a geometry node tree, using socket names or indices to wire node graphs for headless Blender builds.
Instructions
Connect an output socket to an input socket (sockets by name or 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": {
"tree": "<tree>",
"from_node": "<from_node>",
"from_socket": "<from_socket>",
"to_node": "<to_node>",
"to_socket": "<to_socket>"
},
"name": "gn_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | ||
| to_node | Yes | ||
| from_node | Yes | ||
| to_socket | Yes | ||
| from_socket | Yes |