bulc_export_fds
Export FDS input files for fire simulation, including geometry and supporting files, to a specified directory for use with BULC Building Designer.
Instructions
Export the FDS input file to disk. Creates the .fds file and any required supporting files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bulc_export_fds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Output directory path. Default: same as project file | |
| filename | No | FDS filename (without extension). Default: project name | |
| includeGeometry | No | Export OBJ geometry file. Default: true |
Implementation Reference
- src/tools/fds-run.ts:181-187 (handler)Executes the bulc_export_fds tool by parsing input arguments with ExportFdsSchema and sending an 'export_fds' command to the BULC client.
case "bulc_export_fds": { const validated = ExportFdsSchema.parse(args); result = await client.sendCommand({ action: "export_fds", params: validated, }); break; - src/tools/fds-run.ts:137-141 (schema)Zod schema for validating inputs to bulc_export_fds tool.
const ExportFdsSchema = z.object({ outputPath: z.string().optional(), filename: z.string().optional(), includeGeometry: z.boolean().optional(), }); - src/tools/fds-run.ts:47-63 (schema)Input schema definition in the tool registration object for bulc_export_fds.
inputSchema: { type: "object" as const, properties: { outputPath: { type: "string", description: "Output directory path. Default: same as project file", }, filename: { type: "string", description: "FDS filename (without extension). Default: project name", }, includeGeometry: { type: "boolean", description: "Export OBJ geometry file. Default: true", }, }, }, - src/index.ts:112-121 (registration)Routes calls to bulc_export_fds (and other FDS run tools) to the handleFdsRunTool function.
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); } - src/index.ts:48-51 (registration)Includes fdsRunTools (containing bulc_export_fds schema) in the list of all available tools served by the MCP server.
...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 ];