bulc_delete_wall
Remove walls from building designs by specifying their unique ID, enabling precise editing of architectural layouts within the BULC Building Designer environment.
Instructions
Delete a wall by its ID. Get wall IDs from bulc_list_walls.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Wall ID to delete |
Implementation Reference
- src/tools/wall.ts:249-256 (handler)Handler case for 'bulc_delete_wall' tool: parses input with DeleteWallSchema and sends 'delete_wall' command to BULC client via getBulcClient().case "bulc_delete_wall": { const validated = DeleteWallSchema.parse(args); result = await client.sendCommand({ action: "delete_wall", params: validated, }); break; }
- src/tools/wall.ts:143-160 (schema)Tool definition including name, description, inputSchema (requiring 'id' string), and annotations for the bulc_delete_wall tool, part of exported wallTools array.{ name: "bulc_delete_wall", description: "Delete a wall by its ID. Get wall IDs from bulc_list_walls.", inputSchema: { type: "object" as const, properties: { id: { type: "string", description: "Wall ID to delete", }, }, required: ["id"], }, annotations: { readOnlyHint: false, destructiveHint: true, }, },
- src/tools/wall.ts:198-200 (schema)Zod schema for validating input arguments to bulc_delete_wall handler.const DeleteWallSchema = z.object({ id: z.string(), });
- src/index.ts:73-76 (registration)Dispatch logic in main MCP server handler that routes calls to 'bulc_delete_wall' (and other wall tools) to handleWallTool.// Wall tools if (name.startsWith("bulc_") && name.includes("wall")) { return await handleWallTool(name, safeArgs); }
- src/index.ts:43-43 (registration)Inclusion of wallTools (containing bulc_delete_wall) into the allTools array provided to MCP ListToolsRequest....wallTools, // 5 tools: create, create_rectangle, list, modify, delete