Skip to main content
Glama

delete-app-card-item

Remove a specific app card from a Miro board by providing the board ID and item ID to manage board content efficiently.

Instructions

Delete a specific app card item from a Miro board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board that contains the app card
itemIdYesUnique identifier (ID) of the app card that you want to delete

Implementation Reference

  • The handler function that implements the core logic of the 'delete-app-card-item' tool. It validates the boardId and itemId parameters and uses MiroClient to delete the app card item from the board.
    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().deleteAppCardItem(boardId, itemId); return ServerResponse.text(JSON.stringify({ success: true, message: `App Card Item ${itemId} successfully deleted from board ${boardId}` }, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • Zod schema defining the input parameters for the tool: boardId and itemId, both required strings with descriptions.
    args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the app card"), itemId: z.string().describe("Unique identifier (ID) of the app card that you want to delete") },
  • src/index.ts:124-124 (registration)
    Registration of the deleteAppCardItemTool in the ToolBootstrapper chain in the main index file.
    .register(deleteAppCardItemTool)
  • src/index.ts:23-23 (registration)
    Import statement for the deleteAppCardItemTool used in registration.
    import deleteAppCardItemTool from './tools/deleteAppCardItem.js';
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