dig_cave
Carve cave tunnels and chambers into solid rock along a path, with optional floor and wall tints, or fill them back to rock when dig is false.
Instructions
Carve a cave along a path with the Cave Brush (the dig/blast tool).
Dungeondraft caves are a separate layer: you dig open floor out of solid
rock, and DD auto-generates the rocky wall border + debris around the opening.
points: a list of [x, y] woxel points the cave runs through (>= 1). A single
point digs one circular chamber; multiple points dig a connected tunnel
(rasterized as a constant-width ribbon, like paint_path). radius: half-width
in woxels (default 256 = ~1 tile). dig: True carves open cave; False fills it
back to rock. ground_color / wall_color: optional cave floor/wall tints
("#rrggbb"). texture: optional Caves floor asset (see
list_assets(category="Caves")). The mesh rebuilds automatically.
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": {
"points": "<points>"
},
"name": "dig_cave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dig | No | ||
| points | Yes | ||
| radius | No | ||
| texture | No | ||
| wall_color | No | ||
| ground_color | No |