add_geometry_node
Add a node to a Geometry Nodes modifier's node group by specifying modifier name and node type.
Instructions
Add a node to a geometry nodes modifier's node group.
Args: modifier_name: Name of the geometry nodes modifier (used to find the node group). node_type: Blender node type identifier, e.g. GeometryNodeMeshCube, GeometryNodeSetPosition, GeometryNodeTransform, ShaderNodeMath, GeometryNodeJoinGeometry, etc. location: XY position for the node in the node editor. Defaults to (0, 0).
Returns: Dict with the created node's name and type.
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>",
"node_type": "<node_type>"
},
"name": "add_geometry_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | ||
| node_type | Yes | ||
| modifier_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||