remove-board-member
Remove a specific member from a Miro board by providing the board ID and member ID to manage board access and permissions.
Instructions
Remove a specific member from a Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | ID of the board | |
| memberId | Yes | ID of the board member to remove |
Implementation Reference
- src/tools/removeBoardMember.ts:13-30 (handler)The asynchronous handler function that implements the core logic for the 'remove-board-member' tool. It validates inputs, calls the MiroClient API to remove the board member, and handles errors with ServerResponse.fn: async ({ boardId, memberId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!memberId) { return ServerResponse.error("Member ID is required"); } const result = await MiroClient.getApi().removeBoardMember(boardId, memberId); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { process.stderr.write(`Error removing board member: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/removeBoardMember.ts:6-12 (schema)The ToolSchema definition including name, description, and Zod input schema for the 'remove-board-member' tool.const removeBoardMemberTool: ToolSchema = { name: "remove-board-member", description: "Remove a specific member from a Miro board", args: { boardId: z.string().describe("ID of the board"), memberId: z.string().describe("ID of the board member to remove") },
- src/index.ts:175-175 (registration)The registration of the 'removeBoardMemberTool' in the ToolBootstrapper chain in the main index file..register(removeBoardMemberTool)