delete-frame-item
Remove a frame from a Miro board by specifying the board ID and frame ID to clean up workspace organization.
Instructions
Delete a frame from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board from which you want to delete the frame | |
| itemId | Yes | Unique identifier (ID) of the frame that you want to delete |
Implementation Reference
- src/tools/deleteFrameItem.ts:13-31 (handler)Handler function implementing the logic to delete a frame item from a Miro board using MiroClient API.
fn: async ({ boardId, itemId }: { boardId: string, itemId: string }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } await MiroClient.getApi().deleteFrameItem(boardId, itemId); return ServerResponse.text(JSON.stringify({ success: true, message: "Frame successfully deleted" }, null, 2)); } catch (error) { return ServerResponse.error(error); } } - src/tools/deleteFrameItem.ts:9-12 (schema)Zod input schema defining required boardId and itemId parameters for the delete-frame-item tool.
args: { boardId: z.string().describe("Unique identifier (ID) of the board from which you want to delete the frame"), itemId: z.string().describe("Unique identifier (ID) of the frame that you want to delete") }, - src/index.ts:141-141 (registration)Registers the delete-frame-item tool (imported as deleteFrameItemTool) with the ToolBootstrapper in the main index file.
.register(deleteFrameItemTool)