bulc_list_walls
Retrieve wall data including IDs, coordinates, thickness, and height from building designs to identify and manage structural elements for modification or removal.
Instructions
Get a list of all walls with their IDs, coordinates, thickness, and height. Use the returned IDs for modify/delete operations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter by floor level index. Omit to list all. |
Implementation Reference
- src/tools/wall.ts:231-238 (handler)Handler logic for 'bulc_list_walls': validates input using ListWallsSchema and sends 'list_walls' command to BULC client via getBulcClient().case "bulc_list_walls": { const validated = ListWallsSchema.parse(args); result = await client.sendCommand({ action: "list_walls", params: validated, }); break; }
- src/tools/wall.ts:184-186 (schema)Zod validation schema for bulc_list_walls input (optional level filter).const ListWallsSchema = z.object({ level: z.number().int().optional(), });
- src/tools/wall.ts:98-116 (registration)Tool definition/registration in wallTools array, including name, description, inputSchema, and annotations.{ name: "bulc_list_walls", description: "Get a list of all walls with their IDs, coordinates, thickness, and height. " + "Use the returned IDs for modify/delete operations.", inputSchema: { type: "object" as const, properties: { level: { type: "integer", description: "Filter by floor level index. Omit to list all.", }, }, }, annotations: { readOnlyHint: true, destructiveHint: false, }, },
- src/index.ts:73-76 (registration)MCP server request handler routes 'bulc_*wall*' tools (including bulc_list_walls) to handleWallTool.// Wall tools if (name.startsWith("bulc_") && name.includes("wall")) { return await handleWallTool(name, safeArgs); }
- src/index.ts:54-58 (registration)Registers allTools (including wallTools with bulc_list_walls) for ListToolsRequestSchema.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: allTools, }; });