draw_wall
Create wall geometry from a list of [x, y] points to outline rooms, corridors, or boundaries, with optional loop closure and snapping; returns the new element ID.
Instructions
Draw a wall through a list of [x, y] woxel points. Returns the new element id.
asset: optional Walls asset path. loop: close into a loop (e.g. a room).
type: 0=auto, 1=manual, 2=cave. joint: 0=sharp, 1=bevel, 2=round.
snap: 'none', 'grid' or 'auto'; see get_snap_settings.
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": "draw_wall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| snap | No | ||
| type | No | ||
| asset | No | ||
| color | No | ||
| joint | No | ||
| points | Yes | ||
| shadow | No |