Skip to main content
Glama

delete-text-item

Remove a specific text item from a Miro board by providing the board ID and text item ID. Simplify content management on Miro boards.

Instructions

Delete a specific text item from a Miro board

Input Schema

NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board that contains the text item
itemIdYesUnique identifier (ID) of the text item that you want to delete

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "boardId": { "description": "Unique identifier (ID) of the board that contains the text item", "type": "string" }, "itemId": { "description": "Unique identifier (ID) of the text item that you want to delete", "type": "string" } }, "required": [ "boardId", "itemId" ], "type": "object" }

Implementation Reference

  • Handler function that validates inputs, calls Miro API to delete the text item by boardId and itemId, and returns success or error response.
    fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } await MiroClient.getApi().deleteTextItem(boardId, itemId); return ServerResponse.text(JSON.stringify({ success: true, message: "Text item successfully deleted" })); } catch (error) { return ServerResponse.error(error); } }
  • Zod schema defining the input parameters: boardId and itemId as strings.
    boardId: z.string().describe("Unique identifier (ID) of the board that contains the text item"), itemId: z.string().describe("Unique identifier (ID) of the text item that you want to delete") },
  • src/index.ts:149-149 (registration)
    Registers the delete-text-item tool in the ToolBootstrapper.
    .register(deleteTextItemTool)

Other Tools

Related 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