measure_vmf_approach
Measure clear space in front of VMF entities like doors and buttons to catch geometry blocked by walls or crates before compiling.
Instructions
How much clear room a person has in front of the entities of a .vmf -- doors, buttons, vending machines, anything with an origin and a yaw. The classic fault it finds is a door that opens into a wall, or a button behind a crate, neither of which any compiler mentions. It does NOT say whether a door can swing: a leaf's width lives in a model this server cannot open offline, and the hull it assumed is reported rather than quietly folded into the answer.
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": "measure_vmf_approach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hull | No | Source's own player hulls: 32x32x72 standing, 32x32x36 crouching. | standing |
| path | Yes | ||
| limit | No | ||
| classname | No | Only entities whose classname contains this. | |
| targetname | No | ||
| minClearUnits | No | Report only entities with less than this in front. 0 reports all of them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| notes | Yes | ||
| matched | Yes | ||
| entities | Yes | ||
| reported | Yes | ||
| assumedHull | Yes |