bulc_get_evac_settings
Retrieve current evacuation simulation settings for building design, including model types, agent parameters, and stair configurations.
Instructions
Get current EVAC simulation settings including model type, agent parameters, and stair configurations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/evac.ts:893-898 (handler)Handler logic within handleEvacTool switch statement that executes the tool by sending a 'get_evac_settings' command to the BULC client with empty parameters.case "bulc_get_evac_settings": { result = await client.sendCommand({ action: "get_evac_settings", params: {}, }); break;
- src/tools/evac.ts:39-42 (schema)Input schema definition for the tool, specifying an empty object since no input parameters are required.inputSchema: { type: "object" as const, properties: {}, },
- src/tools/evac.ts:34-47 (registration)Tool definition and registration within the evacTools array exported from the evac module.{ name: "bulc_get_evac_settings", description: "Get current EVAC simulation settings including model type, " + "agent parameters, and stair configurations.", inputSchema: { type: "object" as const, properties: {}, }, annotations: { readOnlyHint: true, destructiveHint: false, }, },
- src/index.ts:39-58 (registration)Global tool registration: evacTools are included in allTools, which is returned by the MCP server's list tools handler.// Combine all 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 ]; // List available tools server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: allTools, }; });
- src/index.ts:135-137 (handler)Main MCP tool call dispatcher that routes calls to tools matching 'bulc_*evac*' pattern to the evac-specific handleEvacTool function.if (name.startsWith("bulc_") && name.includes("evac")) { return await handleEvacTool(name, safeArgs); }