read_map_geometry
Read a compiled BSP's lump directory to report each lump's size and proximity to vbsp compiler ceilings, revealing what limits map growth before you plan edits.
Instructions
What each lump of a compiled map holds, and how close that is to the compiler's ceiling. Reads only the 1036-byte directory, so it is instant. Limits are vbsp's own, from source-sdk-2013; a map that exceeds one is a map whose compilers raised it, not a broken map. Use it to see what stops a map from growing before planning work on it.
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_map_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .bsp, absolute or relative to the repo root. | |
| nearLimitOnly | No | Return only the lumps at or above 80% of their ceiling. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lumps | Yes | ||
| version | Yes | ||
| fileSize | Yes | ||
| limitSource | Yes | ||
| mapRevision | Yes | ||
| nearLimitCount | Yes |