get-mindmap-node
Retrieve specific mind map node details from a Miro board using board and item identifiers to access structured information.
Instructions
Retrieve information about a specific mind map node on a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board from which you want to retrieve a mind map node | |
| itemId | Yes | Unique identifier (ID) of the mind map node that you want to retrieve |
Implementation Reference
- src/tools/getMindmapNode.ts:13-22 (handler)The handler function for the 'get-mindmap-node' tool. It takes boardId and itemId, calls MiroClient.getApi().getMindmapNodeExperimental to retrieve the mindmap node data, formats it as JSON, and returns it via ServerResponse.text, or handles errors appropriately.fn: async ({ boardId, itemId }) => { try { const response = await MiroClient.getApi().getMindmapNodeExperimental(boardId, itemId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving Miro mind map node: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/getMindmapNode.ts:9-12 (schema)Zod schema defining the input parameters: boardId (string) and itemId (string) for the get-mindmap-node tool.args: { boardId: z.string().describe("Unique identifier (ID) of the board from which you want to retrieve a mind map node"), itemId: z.string().describe("Unique identifier (ID) of the mind map node that you want to retrieve") },
- src/index.ts:187-187 (registration)Registers the getMindmapNodeTool with the ToolBootstrapper instance in the main server setup..register(getMindmapNodeTool)