bulc_redo
Restore the last undone action in BULC Building Designer to continue building design work, showing what changes were reapplied.
Instructions
Redo the last undone operation. Returns information about what was redone.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/context.ts:226-232 (handler)The handler logic for the 'bulc_redo' tool, which sends a 'redo' command to the BULC client with empty parameters.case "bulc_redo": { result = await client.sendCommand({ action: "redo", params: {}, }); break; }
- src/tools/context.ts:114-125 (registration)Registration of the 'bulc_redo' tool in the contextTools array, including name, description, empty input schema, and annotations.{ name: "bulc_redo", description: "Redo the last undone operation. Returns information about what was redone.", inputSchema: { type: "object" as const, properties: {}, }, annotations: { readOnlyHint: false, destructiveHint: true, }, },
- src/index.ts:150-162 (registration)Routing logic in main server handler that dispatches 'bulc_redo' (and other context tools) to handleContextTool.// Context tools (get_spatial_context, get_home_info, levels, undo, redo, save) if ( name === "bulc_get_spatial_context" || name === "bulc_get_home_info" || name === "bulc_list_levels" || name === "bulc_create_level" || name === "bulc_set_current_level" || name === "bulc_undo" || name === "bulc_redo" || name === "bulc_save" ) { return await handleContextTool(name, safeArgs); }
- src/index.ts:40-41 (registration)Inclusion of contextTools (which contains 'bulc_redo') into the full list of available tools served to MCP clients.const allTools = [ ...contextTools, // 8 tools: spatial context, home info, levels, undo/redo, save