bulc_list_evac_stairs
Lists all configured evacuation stairs for multi-level buildings in BULC fire simulation software to support safety planning and building design.
Instructions
List all configured evacuation stairs for multi-level buildings.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/evac.ts:910-916 (handler)Handler case that executes the tool logic by dispatching a 'list_evac_stairs' command to the BULC client.case "bulc_list_evac_stairs": { result = await client.sendCommand({ action: "list_evac_stairs", params: {}, }); break; }
- src/tools/evac.ts:95-107 (schema)Tool schema definition including name, description, input schema (empty object), and annotations indicating read-only.{ name: "bulc_list_evac_stairs", description: "List all configured evacuation stairs for multi-level buildings.", inputSchema: { type: "object" as const, properties: {}, }, annotations: { readOnlyHint: true, destructiveHint: false, }, },
- src/index.ts:40-51 (registration)Includes evacTools (containing bulc_list_evac_stairs) in the complete list of MCP tools served 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 ];
- src/index.ts:54-58 (registration)Registers the handler for listing all tools, exposing bulc_list_evac_stairs schema to MCP clients.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: allTools, }; });
- src/index.ts:134-137 (registration)Routes tool calls matching 'bulc_*evac*' (including bulc_list_evac_stairs) to the evac handler function.// EVAC tools if (name.startsWith("bulc_") && name.includes("evac")) { return await handleEvacTool(name, safeArgs); }