bulc_delete_room
Remove a room from your building design by specifying its unique ID. This tool helps maintain clean project files by deleting unwanted rooms.
Instructions
Delete a room by its ID. Get room IDs from bulc_list_rooms.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Room ID to delete |
Implementation Reference
- src/tools/room.ts:247-254 (handler)Handler implementation for the 'bulc_delete_room' tool: parses input arguments using DeleteRoomSchema and sends a 'delete_room' command with validated params to the BULC client.case "bulc_delete_room": { const validated = DeleteRoomSchema.parse(args); result = await client.sendCommand({ action: "delete_room", params: validated, }); break; }
- src/tools/room.ts:196-198 (schema)Zod runtime validation schema for 'bulc_delete_room' input, requiring a string 'id'.const DeleteRoomSchema = z.object({ id: z.string(), });
- src/tools/room.ts:147-164 (registration)MCP tool registration entry for 'bulc_delete_room', including name, description, JSON input schema (requiring 'id' string), and annotations.{ name: "bulc_delete_room", description: "Delete a room by its ID. Get room IDs from bulc_list_rooms.", inputSchema: { type: "object" as const, properties: { id: { type: "string", description: "Room ID to delete", }, }, required: ["id"], }, annotations: { readOnlyHint: false, destructiveHint: true, }, },