bulc_generate_rset_report
Generate RSET analysis reports from evacuation simulations to evaluate building egress safety and compliance with fire safety standards.
Instructions
Generate RSET (Required Safe Egress Time) analysis report from evacuation simulation results.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Output directory for report. Default: same as results | |
| language | No | Report language: 'EN', 'KO', 'JP', 'CN'. Default: EN | |
| includeAgentDetails | No | Include per-agent exit times. Default: true |
Implementation Reference
- src/tools/evac.ts:1031-1038 (handler)Handler implementation in handleEvacTool switch: validates input with GenerateRsetReportSchema and sends 'generate_rset_report' command to BULC client.case "bulc_generate_rset_report": { const validated = GenerateRsetReportSchema.parse(args); result = await client.sendCommand({ action: "generate_rset_report", params: validated, }); break; }
- src/tools/evac.ts:805-809 (schema)Zod schema for input validation matching the tool's inputSchema.const GenerateRsetReportSchema = z.object({ outputPath: z.string().optional(), language: z.enum(["EN", "KO", "JP", "CN"]).optional(), includeAgentDetails: z.boolean().optional(), });
- src/tools/evac.ts:420-447 (registration)Tool registration in evacTools array: defines name, description, inputSchema for MCP protocol.{ name: "bulc_generate_rset_report", description: "Generate RSET (Required Safe Egress Time) analysis report " + "from evacuation simulation results.", inputSchema: { type: "object" as const, properties: { outputPath: { type: "string", description: "Output directory for report. Default: same as results", }, language: { type: "string", description: "Report language: 'EN', 'KO', 'JP', 'CN'. Default: EN", enum: ["EN", "KO", "JP", "CN"], }, includeAgentDetails: { type: "boolean", description: "Include per-agent exit times. Default: true", }, }, }, annotations: { readOnlyHint: false, destructiveHint: true, }, },
- src/index.ts:140-147 (registration)Top-level dispatch in main tool handler: routes 'bulc_generate_rset_report' to handleEvacTool.name === "bulc_set_agent_properties" || name === "bulc_generate_rset_report" || name === "bulc_save_evac_result" || name === "bulc_set_exit_assignment" || name === "bulc_set_premovement_time" || name === "bulc_set_fire_coupling" ) { return await handleEvacTool(name, safeArgs);