connect_geometry_nodes
Connect two nodes in a geometry nodes modifier's node group by specifying the modifier, source and destination nodes, and socket indices.
Instructions
Connect two nodes in a geometry nodes modifier's node group.
Args: modifier_name: Name of the geometry nodes modifier. from_node: Name of the source node. from_socket: Index of the output socket on the source node. to_node: Name of the destination node. to_socket: Index of the input socket on the destination node.
Returns: Confirmation dict with connection details.
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": {
"modifier_name": "<modifier_name>",
"from_node": "<from_node>",
"from_socket": "<from_socket>",
"to_node": "<to_node>",
"to_socket": "<to_socket>"
},
"name": "connect_geometry_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_node | Yes | ||
| from_node | Yes | ||
| to_socket | Yes | ||
| from_socket | Yes | ||
| modifier_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||