get-board-classification
Retrieve board classification details for a specific board using orgId, teamId, and boardId in Miro MCP server, designed for Enterprise use cases.
Instructions
Retrieves board classification for a board (Enterprise only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Unique identifier of the board that you want to retrieve | |
| orgId | Yes | id of the organization | |
| teamId | Yes | id of the team |
Implementation Reference
- The asynchronous handler function that implements the core logic of the 'get-board-classification' tool. It fetches the board classification from the Miro API using the provided orgId, teamId, and boardId, formats the response as JSON, and handles any errors gracefully.fn: async ({ orgId, teamId, boardId }) => { try { const response = await MiroClient.getApi().enterpriseDataclassificationBoardGet(orgId, teamId, boardId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving board classification: ${error}\n`); return ServerResponse.error(error); } }
- The schema definition for the tool, including the name, description, and Zod-based input argument validation schema.const getBoardClassificationTool: ToolSchema = { name: "get-board-classification", description: "Retrieves board classification for a board (Enterprise only)", args: { orgId: z.string().describe("id of the organization"), teamId: z.string().describe("id of the team"), boardId: z.string().describe("Unique identifier of the board that you want to retrieve"), },
- src/index.ts:190-190 (registration)The line where the getBoardClassificationTool is registered with the ToolBootstrapper in the main server index file..register(getBoardClassificationTool)