gn_expose_input
Adds a user-facing input to a geometry nodes tree so values can be adjusted on the modifier; supports float, int, vector, bool, object, material, and color sockets.
Instructions
Add a user-facing input to the tree (appears on the modifier). socket_type: NodeSocketFloat, NodeSocketInt, NodeSocketVector, NodeSocketBool, NodeSocketObject, NodeSocketMaterial, NodeSocketColor.
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>",
"name": "<name>"
},
"name": "gn_expose_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tree | Yes | ||
| default | No | ||
| max_value | No | ||
| min_value | No | ||
| socket_type | No | NodeSocketFloat |