build_terrain
Render terrain by processing all output nodes in a .terrain file, with configurable seed, region, profile, and variable overrides.
Instructions
Build a terrain using Gaea.Swarm.exe CLI. Renders all output nodes in the .terrain file. The -v (variables) argument is always placed last automatically. Typical build time: seconds to minutes depending on resolution and node complexity.
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": {
"filename": "<filename>"
},
"name": "build_terrain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Mutation seed (integer) for terrain variations | |
| region | No | Region name to build | |
| profile | No | Build Profile name | |
| verbose | No | Enable verbose build log | |
| filename | Yes | Path to .terrain file (name in project dir or absolute path) | |
| varsFile | No | Path to a .json or .txt variables file | |
| variables | No | Variable overrides as key-value pairs, e.g. {"erosion": "0.35", "snowline": "0.7"} | |
| ignoreCache | No | Ignore baked cache and force full rebuild |