terrain_edit
Edit a Bryce terrain and write a new copy while leaving the source unchanged. Optionally load a heightmap, then apply ordered operations like generation and hydraulic erosion.
Instructions
Edit a terrain exactly, writing a NEW copy of a Bryce file; the source is not
changed. Optionally start from heightmap_path (any picture, white is high; 16-bit
PNG keeps precision), then apply operations in order, e.g.
[{"op":"generate","shape":"mountain","seed":3},{"op":"hydraulic_erosion"}].
See terrain_operations. The grid size stays that of terrain number index, so
pick one with the detail you want (terrain_preview shows it). source_path can be
one of Bryce's Presets/*.obp libraries or a saved .br3 scene.
For terrains inside scenes you build, br3_edit's "terrain" operation is simpler.
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": {
"source_path": "<source_path>",
"output_name": "<output_name>"
},
"name": "terrain_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| operations | No | ||
| description | No | ||
| output_name | Yes | ||
| source_path | Yes | ||
| terrain_name | No | ||
| heightmap_path | No |