add_group_socket
Add a socket to a node group's interface to expose it in the modifier panel. Specify socket type, name, direction, and default value.
Instructions
给节点组接口加插槽(暴露到修改器面板)。socket_type: Float/Int/Bool/Vector/Color/Object/Collection/Material/Geometry…
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": {
"node_group": "<node_group>",
"name": "<name>"
},
"name": "add_group_socket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| in_out | No | INPUT | |
| default | No | ||
| node_group | Yes | ||
| socket_type | No | NodeSocketFloat |