get-board-classification
Retrieve board classification data for enterprise Miro boards to organize and manage content effectively.
Instructions
Retrieves board classification for a board (Enterprise only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | id of the organization | |
| teamId | Yes | id of the team | |
| boardId | Yes | Unique identifier of the board that you want to retrieve |
Implementation Reference
- The asynchronous function implementing the core logic of the 'get-board-classification' tool. It calls the Miro API to fetch board classification and returns the response or handles errors.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); } }
- Zod schema defining the input arguments for the tool: orgId, teamId, and boardId.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)Registers the getBoardClassificationTool with the ToolBootstrapper instance in the main server setup..register(getBoardClassificationTool)