bulc_preview_fds
Preview FDS input file content for fire simulation review before saving in BULC Building Designer.
Instructions
Generate a preview of the FDS input file without saving. Returns the complete FDS input file content for review.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeComments | No | Include explanatory comments in output. Default: true |
Implementation Reference
- src/tools/fds-run.ts:9-27 (registration)Tool registration object defining name, description, input schema, and annotations for bulc_preview_fds{ name: "bulc_preview_fds", description: "Generate a preview of the FDS input file without saving. " + "Returns the complete FDS input file content for review.", inputSchema: { type: "object" as const, properties: { includeComments: { type: "boolean", description: "Include explanatory comments in output. Default: true", }, }, }, annotations: { readOnlyHint: true, destructiveHint: false, }, },
- src/tools/fds-run.ts:133-135 (schema)Zod input validation schema for bulc_preview_fds toolconst PreviewFdsSchema = z.object({ includeComments: z.boolean().optional(), });
- src/tools/fds-run.ts:164-171 (handler)Specific handler case for bulc_preview_fds: parses input with schema and sends 'preview_fds' command to BULC clientcase "bulc_preview_fds": { const validated = PreviewFdsSchema.parse(args); result = await client.sendCommand({ action: "preview_fds", params: validated, }); break; }
- src/index.ts:111-121 (registration)Top-level tool dispatch routing for FDS run tools including bulc_preview_fds to handleFdsRunTool// FDS Run tools (preview, validate, export, run, status, stop) if ( name === "bulc_preview_fds" || name === "bulc_validate_fds" || name === "bulc_export_fds" || name === "bulc_run_fds" || name === "bulc_get_fds_status" || name === "bulc_stop_fds" ) { return await handleFdsRunTool(name, safeArgs); }