update-board-classification
Update classification labels on Miro boards to organize content and manage access for enterprise teams.
Instructions
Updates board classification for an existing 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 update | |
| labelId | Yes | Unique identifier of the classification label to apply |
Implementation Reference
- The handler function that executes the tool logic: prepares the label ID object and calls MiroClient's enterpriseDataclassificationBoardSet API to update the board classification, handles errors and returns response.fn: async ({ orgId, teamId, boardId, labelId }) => { try { const dataClassificationLabelId = { labelId: labelId }; const response = await MiroClient.getApi().enterpriseDataclassificationBoardSet( orgId, teamId, boardId, dataClassificationLabelId ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error updating board classification: ${error}\n`); return ServerResponse.error(error); } }
- Input schema using Zod validators for the required parameters: orgId, teamId, boardId, labelId.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 update"), labelId: z.string().describe("Unique identifier of the classification label to apply") },
- src/index.ts:191-191 (registration)Registration of the updateBoardClassificationTool in the ToolBootstrapper chain..register(updateBoardClassificationTool)