get-mindmap-node
Retrieve details of a specific mind map node from a Miro board by providing the board ID and node ID. Integrates with the Miro MCP server to access mind map data efficiently.
Instructions
Retrieve information about a specific mind map node on a Miro board
Input 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 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"boardId": {
"description": "Unique identifier (ID) of the board from which you want to retrieve a mind map node",
"type": "string"
},
"itemId": {
"description": "Unique identifier (ID) of the mind map node that you want to retrieve",
"type": "string"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}
Implementation Reference
- src/tools/getMindmapNode.ts:13-22 (handler)The handler function that executes the tool logic: calls the Miro API to retrieve a specific mind map node and returns the formatted response or handles errors.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)Input schema using Zod for validating boardId and itemId parameters.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..register(getMindmapNodeTool)