get-sticky-note-item
Retrieve details of a specific sticky note from a Miro board using its unique board and item IDs. Streamline access to sticky note information for efficient board management.
Instructions
Retrieve information about a specific sticky note item on a Miro board
Input 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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"boardId": {
"description": "Unique identifier (ID) of the board that contains the sticky note",
"type": "string"
},
"itemId": {
"description": "Unique identifier (ID) of the sticky note that you want to retrieve",
"type": "string"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}
Implementation Reference
- src/tools/getStickyNoteItem.ts:13-28 (handler)The main handler function that validates boardId and itemId, fetches the sticky note data from Miro API, and returns it as formatted JSON 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"); } 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)Defines the tool schema with name, description, and Zod schemas for input parameters boardId and itemId.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)Registers the getStickyNoteItemTool instance with the ToolBootstrapper..register(getStickyNoteItemTool)