bulc_open_result_viewer
View fire simulation results from SMV files or recent simulations to analyze building design performance in 3D.
Instructions
Open the FDS result viewer window. Loads simulation results from the specified SMV file or last simulation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| smvPath | No | Path to .smv file. Default: auto-detect from last simulation | |
| loadGeometry | No | Load 3D geometry (OBJ file). Default: true |
Implementation Reference
- src/tools/result.ts:233-240 (handler)Handler case that executes the bulc_open_result_viewer tool: validates input with Zod and sends 'open_result_viewer' command to BULC client.case "bulc_open_result_viewer": { const validated = OpenResultViewerSchema.parse(args); result = await client.sendCommand({ action: "open_result_viewer", params: validated, }); break; }
- src/tools/result.ts:184-187 (schema)Zod input validation schema for bulc_open_result_viewer tool.const OpenResultViewerSchema = z.object({ smvPath: z.string().optional(), loadGeometry: z.boolean().optional(), });
- src/tools/result.ts:10-31 (registration)Tool definition and registration in resultTools array, including name, description, MCP inputSchema, and annotations.name: "bulc_open_result_viewer", description: "Open the FDS result viewer window. " + "Loads simulation results from the specified SMV file or last simulation.", inputSchema: { type: "object" as const, properties: { smvPath: { type: "string", description: "Path to .smv file. Default: auto-detect from last simulation", }, loadGeometry: { type: "boolean", description: "Load 3D geometry (OBJ file). Default: true", }, }, }, annotations: { readOnlyHint: false, destructiveHint: false, }, },
- src/index.ts:124-132 (registration)Top-level dispatch/registration routes bulc_open_result_viewer calls to the handleResultTool function.if ( name === "bulc_open_result_viewer" || name === "bulc_list_result_datasets" || name === "bulc_get_point_data" || name === "bulc_run_aset_analysis" || name === "bulc_generate_report" ) { return await handleResultTool(name, safeArgs); }
- src/index.ts:40-51 (registration)Includes resultTools (containing bulc_open_result_viewer) in the full list of tools advertised to MCP clients via ListToolsRequest.const allTools = [ ...contextTools, // 8 tools: spatial context, home info, levels, undo/redo, save ...roomTools, // 5 tools: create, create_polygon, list, modify, delete ...wallTools, // 5 tools: create, create_rectangle, list, modify, delete ...furnitureTools, // 5 tools: catalog, place, list, modify, delete ...fdsDataTools, // 7 tools: get, fire_source, detector, sprinkler, hvac, thermocouple, clear ...meshTools, // 5 tools: list, create, auto, modify, delete ...simulationTools, // 4 tools: get_settings, time, output, ambient ...fdsRunTools, // 6 tools: preview, validate, export, run, status, stop ...resultTools, // 5 tools: open_viewer, list_datasets, point_data, aset, report ...evacTools, // 25 tools: setup, stairs, agents, run, results, advanced features ];