delete-sticky-note-item
Remove a specific sticky note from a Miro board by providing the board ID and item ID to clean up content and maintain board organization.
Instructions
Delete a specific sticky note item from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the sticky note | |
| itemId | Yes | Unique identifier (ID) of the sticky note that you want to delete |
Implementation Reference
- src/tools/deleteStickyNoteItem.ts:13-28 (handler)The handler function that performs input validation and deletes the sticky note item using MiroClient API.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().deleteStickyNoteItem(boardId, itemId); return ServerResponse.text(JSON.stringify({ success: true, message: "Sticky note deleted successfully" }, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- The ToolSchema defining the tool's name, description, and input arguments schema using Zod.const deleteStickyNoteItemTool: ToolSchema = { name: "delete-sticky-note-item", description: "Delete a specific sticky note item from a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the sticky note"), itemId: z.string().describe("Unique identifier (ID) of the sticky note that you want to delete") },
- src/index.ts:137-137 (registration)Registration of the tool in the ToolBootstrapper instance..register(deleteStickyNoteItemTool)
- src/index.ts:36-36 (registration)Import of the deleteStickyNoteItemTool for registration.import deleteStickyNoteItemTool from './tools/deleteStickyNoteItem.js';