Skip to main content
Glama

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
NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board that contains the tag
tagIdYesUnique identifier (ID) of the tag that you want to delete

Implementation Reference

  • 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); } }
  • 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)
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/k-jarzyna/mcp-miro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server