get-specific-item
Retrieve detailed information about a specific item on a Miro board by providing its board ID and item ID using the Miro MCP server interface.
Instructions
Retrieve information about a specific item on a Miro board
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier (ID) of the board that contains the item | |
| itemId | Yes | Unique identifier (ID) of the item 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 item",
"type": "string"
},
"itemId": {
"description": "Unique identifier (ID) of the item that you want to retrieve",
"type": "string"
}
},
"required": [
"boardId",
"itemId"
],
"type": "object"
}
Implementation Reference
- src/tools/getSpecificItem.ts:13-29 (handler)The handler function executes the tool logic: validates boardId and itemId, fetches the item data via MiroClient API, stringifies and returns it, or handles errors.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().getSpecificItem(boardId, itemId); return ServerResponse.text(JSON.stringify(itemData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
- src/tools/getSpecificItem.ts:9-12 (schema)Input schema using Zod for validating boardId and itemId parameters.args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the item"), itemId: z.string().describe("Unique identifier (ID) of the item that you want to retrieve") },
- src/index.ts:118-118 (registration)Registration of the get-specific-item tool with the ToolBootstrapper instance..register(getSpecificItemTool)
- src/index.ts:17-17 (registration)Import statement for the get-specific-item tool definition.import getSpecificItemTool from './tools/getSpecificItem.js';