get-all-board-members
Retrieve all members from a specific Miro board to manage team access and collaboration. Use board ID with optional pagination parameters.
Instructions
Retrieve all members of a specific Miro board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | ID of the board to retrieve members from | |
| limit | No | Maximum number of members to retrieve (default: 50) | |
| offset | No | Offset for pagination (default: 0) |
Implementation Reference
- src/tools/getAllBoardMembers.ts:14-30 (handler)The async handler function that executes the tool logic: validates boardId, fetches board members from Miro API with pagination, returns JSON response or error.fn: async ({ boardId, limit = 50, offset = 0 }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } const result = await MiroClient.getApi().getBoardMembers(boardId, { limit: limit.toString(), offset: offset.toString() }); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { process.stderr.write(`Error retrieving board members: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/getAllBoardMembers.ts:6-13 (schema)ToolSchema type definition including name, description, and Zod schema for input arguments.const getAllBoardMembersTool: ToolSchema = { name: "get-all-board-members", description: "Retrieve all members of a specific Miro board", args: { boardId: z.string().describe("ID of the board to retrieve members from"), limit: z.number().optional().nullish().describe("Maximum number of members to retrieve (default: 50)"), offset: z.number().optional().nullish().describe("Offset for pagination (default: 0)") },
- src/index.ts:173-173 (registration)Explicit registration of the tool with the MCP server via ToolBootstrapper.register method..register(getAllBoardMembers)