read_vmf_surfaces
Classify .vmf faces into floors, walls, ceilings, and slopes, measure exposed surface area, and map brush contacts to identify buried geometry before compiling.
Instructions
Every face of a .vmf sorted into floor, wall, ceiling and slope, with how much of each a person could actually touch -- and which brush touches which. A map is boxes pushed against each other, so most of what a .vmf contains is buried: the underside of every slab, the back of every wall. Counting those doubles a building's floor area in a number that reads perfectly ordinary. Exposure is measured by probing along each face's own normal. Note that 'exposed' means open space in front, which includes the outside of the map: a ceiling slab's upper face is the roof.
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": "read_vmf_surfaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | any | |
| path | Yes | ||
| limit | No | ||
| material | No | Only faces whose material contains this. | |
| exposedOnly | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| faces | Yes | ||
| notes | Yes | ||
| matched | Yes | ||
| faceCount | Yes | ||
| buriedCount | Yes | ||
| touchingBrushes | Yes | ||
| exposedAreaByKind | Yes | ||
| exposedAreaSquareMetresByKind | Yes |