delete-embed-item
Remove a specific embed item from a Miro board by specifying the board ID and item ID using the Miro MCP server.
Instructions
Delete a specific embed item from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the embed | |
| itemId | Yes | Unique identifier (ID) of the embed that you want to delete |
Implementation Reference
- src/tools/deleteEmbedItem.ts:13-28 (handler)The main handler function that performs input validation and calls the Miro API to delete the specified embed item from the board.fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } await MiroClient.getApi().deleteEmbedItem(boardId, itemId); return ServerResponse.text(JSON.stringify({ success: true, message: "Embed deleted successfully" }, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/deleteEmbedItem.ts:6-12 (schema)ToolSchema definition including the tool name, description, and Zod schemas for input parameters boardId and itemId.const deleteEmbedItemTool: ToolSchema = { name: "delete-embed-item", description: "Delete a specific embed item from a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the embed"), itemId: z.string().describe("Unique identifier (ID) of the embed that you want to delete") },
- src/index.ts:164-164 (registration)Registers the deleteEmbedItemTool with the ToolBootstrapper instance to make it available to the MCP server..register(deleteEmbedItemTool)