render_preview
Generate a 2D orthographic SVG preview of a Quake map showing brush footprints and labeled point entities. Choose top, front, or side view for quick visual inspection.
Instructions
Render a 2D orthographic preview of the map as an SVG file: brush footprints (worldspawn gray, brush entities orange) and point entities (blue dots with labels). Views: top (X/Y), front (X/Z), side (Y/Z).
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": {
"map_path": "<map_path>"
},
"name": "render_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Default: top | |
| map_path | Yes | Absolute path to the .map file | |
| out_path | No | Where to write the SVG; default <mapdir>/.tb-mcp/preview-<view>.svg |