delete-frame-item
Remove a specific frame from a Miro board by specifying the board ID and frame ID using this MCP server tool.
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)The main handler function that validates inputs, calls the Miro API to delete the frame item, and returns success or error response.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:7-12 (schema)Input schema definition using Zod for boardId and itemId parameters.name: "delete-frame-item", description: "Delete a frame from a Miro board", 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)Registration of the deleteFrameItemTool in the ToolBootstrapper chain..register(deleteFrameItemTool)