bulc_get_evac_summary
Retrieve evacuation simulation results including total time, individual exit times, and statistical analysis for building safety assessment.
Instructions
Get evacuation result summary including total time, per-agent exit times, and statistics.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/evac.ts:1023-1029 (handler)The handler case within handleEvacTool function that executes the tool by sending the 'get_evac_summary' action command to the BULC client with empty parameters.case "bulc_get_evac_summary": { result = await client.sendCommand({ action: "get_evac_summary", params: {}, }); break; }
- src/tools/evac.ts:406-419 (schema)Tool specification defining the name, description, input schema (empty object since no parameters), and annotations (read-only).{ name: "bulc_get_evac_summary", description: "Get evacuation result summary including total time, " + "per-agent exit times, and statistics.", inputSchema: { type: "object" as const, properties: {}, }, annotations: { readOnlyHint: true, destructiveHint: false, }, },
- src/index.ts:40-51 (registration)Aggregates evacTools (which includes bulc_get_evac_summary) into allTools, which is returned by the MCP ListToolsRequestHandler to register all available tools.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 ];
- src/index.ts:135-137 (registration)Top-level MCP CallToolRequestHandler routes calls to bulc_get_evac_summary (matching 'bulc_*evac*') to the handleEvacTool dispatcher.if (name.startsWith("bulc_") && name.includes("evac")) { return await handleEvacTool(name, safeArgs); }