render_vmf_tour
Generate an automatic contact sheet of eye-height room and doorway views from a VMF to spot layout flaws in one look before compiling.
Instructions
Walks a .vmf and returns one picture of the whole place: a contact sheet of eye-height views, one per room and one from each side of every doorway, worked out from the map rather than from cameras you supply. This exists because of a measurement -- across three sessions in which cold agents built the same map end to end, render_vmf_view was called once between them, and the map that passed every check had a door painted flat on a wall, counters that were single boxes and no skirting anywhere. None of that is visible to any check and all of it is obvious in one look. Cameras stand where a player would, via the same floor-finding measure_vmf_clearance uses, so no frame is the inside of a slab. When the room pass finds nothing to walk it falls back to the spawn and an outside view, and says so rather than returning an empty sheet.
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": {
"path": "<path>"
},
"name": "render_vmf_tour"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fov | No | ||
| path | Yes | Path to the .vmf, absolute or relative to the repo root. | |
| step | No | Cell size for the room pass. Vary it if the rooms come out wrong; see building.md. | |
| width | No | Per frame, not per sheet. | |
| height | No | ||
| maxCells | No | ||
| minRoomArea | No | Square units below which a region is not a room. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| rows | Yes | ||
| notes | Yes | ||
| views | Yes | ||
| columns | Yes | ||
| omitted | Yes | ||
| pngBytes | Yes | ||
| roomCount | Yes | ||
| portalCount | Yes |