delete-app-card-item
Remove a specific app card from a Miro board by providing the board ID and item ID for targeted deletion within the Miro MCP server.
Instructions
Delete a specific app card item from a Miro board
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the app card | |
| itemId | Yes | Unique identifier (ID) of the app card 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 app card",
"type": "string"
},
"itemId": {
"description": "Unique identifier (ID) of the app card that you want to delete",
"type": "string"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}
Implementation Reference
- src/tools/deleteAppCardItem.ts:13-32 (handler)Handler function that validates inputs, calls MiroClient to delete the app card item, 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().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); } }
- src/tools/deleteAppCardItem.ts:7-12 (schema)Tool schema defining name, description, and input parameters (boardId and itemId) using Zod validation.name: "delete-app-card-item", description: "Delete a specific app card item from a Miro board", 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)Registers the delete-app-card-item tool with the ToolBootstrapper..register(deleteAppCardItemTool)
- src/index.ts:23-23 (registration)Imports the delete-app-card-item tool for registration.import deleteAppCardItemTool from './tools/deleteAppCardItem.js';