read_bsp_info
Reads the header of a compiled .bsp to return its ident, version, mapRevision build stamp, and all lump offsets and sizes. Inspect map structure instantly by parsing only the first 1036 bytes.
Instructions
Header of a compiled .bsp: ident, version, mapRevision and all 64 lumps with their offset and size. Reads only the first 1036 bytes, so it is instant even on a 1 GB map. mapRevision is the build stamp a compiled map carries.
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_bsp_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .bsp, absolute or relative to the repo root. | |
| allLumps | No | Include empty lumps (default: only lumps with content). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ident | Yes | ||
| lumps | Yes | ||
| version | Yes | ||
| fileSize | Yes | ||
| lumpCount | Yes | ||
| hdrLighting | Yes | Whether vrad produced HDR lighting, from lumps 53/54/58 being present. NOT from lump 56: LEAF_AMBIENT_LIGHTING is per-visleaf ambient and exists in LDR maps too, so reading it as HDR reports every LDR map as HDR-compiled. | |
| mapRevision | Yes | The compiled map's build stamp. |