read_brush_volumes
Read bounding boxes for every brush entity in a compiled BSP, grouped by classname, to size rooms, shop fronts, and areaportal openings when a spec needs floor area rather than a guess.
Instructions
Footprint and volume of every brush entity in a compiled map, grouped by classname. Each func_* entity owns a brush model (*N in lump 14) whose bounding box this reads. Use it to size the built environment -- shop fronts, rooms behind a func_door, areaportal openings -- when a spec needs a floor area rather than a guess. It reports bounding boxes, not true volumes: an L-shaped room measures as its enclosing box.
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_brush_volumes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .bsp, absolute or relative to the repo root. | |
| limit | No | ||
| classname | No | Restrict to one classname, e.g. func_door. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| byClass | Yes | ||
| largest | Yes | ||
| attributed | Yes | Models an entity claims through its `model` key. | |
| brushModels | Yes |