bulc_clear_evac_agents
Clear evacuation agents from specific rooms or entire building levels in fire simulation software to reset or modify evacuation scenarios.
Instructions
Clear evacuation agents from specified room or all rooms.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | No | Room name or ID to clear. Omit to clear all. | |
| level | No | Floor level to clear. Omit to clear all levels. |
Implementation Reference
- src/tools/evac.ts:954-961 (handler)Handler for the bulc_clear_evac_agents tool: validates input schema and sends 'clear_evac_agents' command to BULC client via getBulcClient().case "bulc_clear_evac_agents": { const validated = ClearEvacAgentsSchema.parse(args); result = await client.sendCommand({ action: "clear_evac_agents", params: validated, }); break; }
- src/tools/evac.ts:256-277 (registration)Tool registration in evacTools export array, defining name, description, input schema, and annotations for MCP server.{ name: "bulc_clear_evac_agents", description: "Clear evacuation agents from specified room or all rooms.", inputSchema: { type: "object" as const, properties: { room: { type: "string", description: "Room name or ID to clear. Omit to clear all.", }, level: { type: "integer", description: "Floor level to clear. Omit to clear all levels.", }, }, }, annotations: { readOnlyHint: false, destructiveHint: true, }, },
- src/tools/evac.ts:781-784 (schema)Zod validation schema used in the handler for input parameters (room and level).const ClearEvacAgentsSchema = z.object({ room: z.string().optional(), level: z.number().int().optional(), });