get-project-member
Retrieve specific member information from Miro projects to manage team access and permissions within enterprise organizations.
Instructions
Retrieves information about a specific project member (Enterprise only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | The ID of the organization to which the project belongs | |
| teamId | Yes | The ID of the team to which the project belongs | |
| projectId | Yes | The ID of the project from which you want to retrieve specific member information | |
| memberId | Yes | The ID of the member for which you want to retrieve information |
Implementation Reference
- src/tools/getProjectMember.ts:15-29 (handler)The core handler function for the 'get-project-member' tool. It calls the MiroClient API to fetch project member details using provided IDs and returns the JSON response or an error.fn: async ({ orgId, teamId, projectId, memberId }) => { try { const response = await MiroClient.getApi().enterpriseGetProjectMember( orgId, teamId, projectId, memberId ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving project member: ${error}\n`); return ServerResponse.error(error); } }
- src/tools/getProjectMember.ts:6-14 (schema)The ToolSchema definition including name, description, and Zod schemas for input parameters (orgId, teamId, projectId, memberId).const getProjectMemberTool: ToolSchema = { name: "get-project-member", description: "Retrieves information about a specific project member (Enterprise only)", args: { orgId: z.string().describe("The ID of the organization to which the project belongs"), teamId: z.string().describe("The ID of the team to which the project belongs"), projectId: z.string().describe("The ID of the project from which you want to retrieve specific member information"), memberId: z.string().describe("The ID of the member for which you want to retrieve information") },
- src/index.ts:200-200 (registration)Registration of the getProjectMemberTool with the ToolBootstrapper instance in the main index file..register(getProjectMemberTool)