delete-sticky-note-item
Remove a specific sticky note from a Miro board by providing the board ID and item ID. Simplify content management by deleting unwanted notes directly.
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 validates inputs, calls the Miro API to delete the sticky note item, and returns success or error response.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); } }
- Zod schema defining the input parameters: boardId and itemId.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)Registers the deleteStickyNoteItemTool with the ToolBootstrapper instance..register(deleteStickyNoteItemTool)
- src/index.ts:36-36 (registration)Imports the tool definition for registration.import deleteStickyNoteItemTool from './tools/deleteStickyNoteItem.js';