delete-tag
Remove a specific tag from a Miro board to organize content and maintain board clarity. Specify the board and tag IDs to delete unwanted tags.
Instructions
Delete a specific tag from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the tag | |
| tagId | Yes | Unique identifier (ID) of the tag that you want to delete |
Implementation Reference
- src/tools/deleteTag.ts:13-28 (handler)The handler function that implements the core logic of the 'delete-tag' tool. It validates the boardId and tagId inputs, calls the Miro API to delete the tag, and returns a success or error response.fn: async ({ boardId, tagId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!tagId) { return ServerResponse.error("Tag ID is required"); } await MiroClient.getApi().deleteTag(boardId, tagId); return ServerResponse.text(JSON.stringify({ success: true, message: "Tag deleted successfully" }, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/deleteTag.ts:6-12 (schema)The ToolSchema definition for 'delete-tag', including the tool name, description, and Zod schemas for input parameters boardId and tagId.const deleteTagTool: ToolSchema = { name: "delete-tag", description: "Delete a specific tag from a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the tag"), tagId: z.string().describe("Unique identifier (ID) of the tag that you want to delete") },
- src/index.ts:169-169 (registration)The registration of the deleteTagTool in the ToolBootstrapper chain in the main index file..register(deleteTagTool)