delete-mindmap-node
Remove a mind map node from a Miro board by specifying the board ID and node ID to clean up or reorganize visual diagrams.
Instructions
Delete a mind map node from a Miro board
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"boardId": "<boardId>",
"itemId": "<itemId>"
},
"name": "delete-mindmap-node"
}
}Input 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 main handler function that executes the tool logic: calls the Miro API to delete a mindmap node and handles the response or error.
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)Input schema using Zod for 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 in the ToolBootstrapper chain.
.register(deleteMindmapNodeTool)