get-sticky-note-item
Retrieve details for a specific sticky note on a Miro board by providing the board ID and item ID.
Instructions
Retrieve information about a specific sticky note item on 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 retrieve |
Implementation Reference
- src/tools/getStickyNoteItem.ts:13-28 (handler)The main handler function that executes the tool logic. Validates input parameters boardId and itemId, retrieves the sticky note item data via MiroClient API, formats it as JSON, and handles errors using ServerResponse.fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } const stickyNoteData = await MiroClient.getApi().getStickyNoteItem(boardId, itemId); return ServerResponse.text(JSON.stringify(stickyNoteData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/getStickyNoteItem.ts:6-12 (schema)The ToolSchema definition including name, description, and Zod-based input schema for boardId and itemId parameters.const getStickyNoteItemTool: ToolSchema = { name: "get-sticky-note-item", description: "Retrieve information about a specific sticky note item on 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 retrieve") },
- src/index.ts:135-135 (registration)Registration of the getStickyNoteItemTool in the ToolBootstrapper chain..register(getStickyNoteItemTool)