add_water
Creates ponds, pools, river bends, moats, or flooded rooms from a rectangle or closed point outline; invert the shape to erase water or cut out islands.
Instructions
Add a body of water — a pond, pool, river bend, moat, or flooded room.
rect: [x, y, w, h] in woxels, or points: [[x,y], ...] for a shoreline.
invert: erase water inside the outline instead of adding it. Water is a
layer, not an object — there is nothing to select and delete — so this is
how you take a pond back or cut an island out of one.
Water is a polygon layer, not a brush stroke: you give it a closed outline
and the whole enclosed area becomes water. Give exactly one of:
rect: [x, y, w, h] in woxels, for a rectangular pool.
points: [[x, y], ...] with at least 3 points, for an irregular shape — a
pond, a river bend, a cave lake. The outline closes automatically.
Call it repeatedly to build up several separate bodies of water. When the
level's existing water shares one style (set_water_style), new water takes
it too and the response says `matched_level_style`.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_water"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | ||
| invert | No | ||
| points | No |