get-app-card-item
Retrieve detailed information about a specific app card on a Miro board by providing the board ID and item ID. Access data efficiently within the Miro MCP server environment.
Instructions
Retrieve information about a specific app card item on 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 retrieve |
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 retrieve",
"type": "string"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}
Implementation Reference
- src/tools/getAppCardItem.ts:13-29 (handler)The asynchronous handler function that validates input parameters (boardId and itemId), fetches the app card item data using MiroClient.getApi(), and returns the JSON-stringified response or an error.fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } const itemData = await MiroClient.getApi().getAppCardItem(boardId, itemId); return ServerResponse.text(JSON.stringify(itemData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/getAppCardItem.ts:6-12 (schema)ToolSchema definition including the tool name, description, and Zod-validated input schema for boardId and itemId parameters.const getAppCardItemTool: ToolSchema = { name: "get-app-card-item", description: "Retrieve information about a specific app card item on 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 retrieve") },
- src/index.ts:122-122 (registration)Registers the getAppCardItemTool with the ToolBootstrapper instance..register(getAppCardItemTool)