delete-mindmap-node
Remove a specific mind map node from a Miro board using the board and node IDs to streamline and organize your visual workspace effectively.
Instructions
Delete a mind map node from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board from which you want to delete the mind map node | |
| itemId | Yes | Unique identifier (ID) of the mind map node that you want to delete |
Implementation Reference
- src/tools/deleteMindmapNode.ts:13-22 (handler)The handler function that executes the tool logic by calling the Miro API to delete the mindmap node.fn: async ({ boardId, itemId }) => { try { const response = await MiroClient.getApi().deleteMindmapNodeExperimental(boardId, itemId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error deleting Miro mind map node: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/deleteMindmapNode.ts:9-12 (schema)Zod schema for input validation defining boardId and itemId parameters.args: { boardId: z.string().describe("Unique identifier (ID) of the board from which you want to delete the mind map node"), itemId: z.string().describe("Unique identifier (ID) of the mind map node that you want to delete") },
- src/index.ts:189-189 (registration)Registers the deleteMindmapNodeTool with the MCP server using ToolBootstrapper..register(deleteMindmapNodeTool)
- src/index.ts:88-88 (registration)Imports the tool definition for registration.import deleteMindmapNodeTool from './tools/deleteMindmapNode.js';
- src/tools/deleteMindmapNode.ts:7-7 (schema)Tool name definition matching the target tool name.name: "delete-mindmap-node",