delete-board
Remove a Miro board by its ID. Deleted boards move to Trash on paid plans and can be restored within 90 days.
Instructions
Delete a Miro board by its ID. Deleted boards go to Trash (on paid plans) and can be restored via UI within 90 days after deletion.
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>"
},
"name": "delete-board"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that you want to delete |
Implementation Reference
- src/tools/deleteBoard.ts:12-28 (handler)The handler function that executes the deletion of a Miro board by ID using MiroClient API, handles errors, and returns appropriate responses.
fn: async ({ boardId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } await MiroClient.getApi().deleteBoard(boardId); return ServerResponse.text(JSON.stringify({ success: true, message: `Board ${boardId} has been successfully deleted.` }, null, 2)); } catch (error) { process.stderr.write(`Error deleting Miro board: ${error}\n`); return ServerResponse.error(error); } } - src/tools/deleteBoard.ts:6-11 (schema)The ToolSchema definition including name, description, and input schema using Zod for boardId validation.
const deleteBoardTool: ToolSchema = { name: "delete-board", description: "Delete a Miro board by its ID. Deleted boards go to Trash (on paid plans) and can be restored via UI within 90 days after deletion.", args: { boardId: z.string().describe("Unique identifier (ID) of the board that you want to delete") }, - src/index.ts:114-114 (registration)Registers the deleteBoardTool with the ToolBootstrapper instance.
.register(deleteBoardTool)