add_node
Add a node to a terrain graph file with specified type, position, and initial properties for automated terrain generation.
Instructions
Add a node to the terrain graph. Use list_node_types to see available types and their ports. Common types: Mountain, Erosion2, Combine, SatMap, Export. Set initial properties for best results, e.g. Mountain: {Scale: 1.5, Height: 3}, Erosion2: {Duration: 15}, Combine: {Method: "Multiply"}, Mesher: {Format: "GLB"}. Position nodes left-to-right by increasing X (spacing ~300-500). Y=26250 for a single row. After adding, use connect_nodes to wire it into the graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position on graph canvas (default: 26500, increase by ~300 per node) | |
| y | No | Y position on graph canvas (default: 26250) | |
| name | No | Custom display name (defaults to the type name) | |
| filename | Yes | Path to .terrain file | |
| nodeType | Yes | Node type key from list_node_types (e.g. Mountain, Erosion2, Combine, Export) | |
| properties | No | Initial property values, e.g. {Seed: 12345, Duration: 10} |