validate_scene
Checks a battle map for unpainted bare ground and unexplained lights, flagging terrain gaps and light sources without matching emitters. Read-only.
Instructions
Check that the map has ground and that its light has causes. Read-only.
Two failures that a render shows but cannot diagnose, and that no element
count can show at all:
bare_ground open ground with no terrain painted on it. Terrain is the
one part of a map with no element count, so a building
standing in an unpainted void reports as a complete,
correct map everywhere else. Cells occupied or enclosed by
walls are skipped — an interior is floored with patterns,
not terrain, and would otherwise read as bare on a
perfectly finished map.
lights every light, split into `explained` (something nearby could
be emitting it) and `unexplained` (nothing could). A pool
of warm light on bare boards with no candle, hearth or
lantern reads as a mistake immediately, and a viewer
notices before they can say why.
Lights match emitters by asset NAME, so read it as a prompt: an oddly named
source reads as unexplained. `explained` names the asset it credited.
`arrangement` is advice and never affects `ok`: how many objects sit at
scale 1.0 on quarter turns, and how much of the map the build covers.
`art_families` is advice too: objects, walls and terrain slots counted per
pack (`core` is the stock library). Packs are drawn in different styles,
so counts outside the family the plan chose are worth a look.
Outdoors, remember the global condition is itself a source. Under daylight
the open ground needs no local sources at all; at night it wants the light
to come from things that are in the scene.
samples: grid resolution per side for the terrain read, 2-64. Higher is
slower and finds smaller gaps.
emitter_reach: how close (in woxels) an emitter must be to account for a
light. One tile by default — a light is meant to sit on its source.
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": "validate_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | No | ||
| emitter_reach | No |