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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orgId": "<orgId>",
"teamId": "<teamId>",
"boardId": "<boardId>",
"labelId": "<labelId>"
},
"name": "update-board-classification"
}
}Input 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)