get-project-member
Retrieve detailed information about a specific member within a Miro project by providing the organization, team, project, and member IDs.
Instructions
Retrieves information about a specific project member (Enterprise only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memberId | Yes | The ID of the member for which you want to retrieve information | |
| orgId | Yes | The ID of the organization to which the project belongs | |
| projectId | Yes | The ID of the project from which you want to retrieve specific member information | |
| teamId | Yes | The ID of the team to which the project belongs |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"memberId": {
"description": "The ID of the member for which you want to retrieve information",
"type": "string"
},
"orgId": {
"description": "The ID of the organization to which the project belongs",
"type": "string"
},
"projectId": {
"description": "The ID of the project from which you want to retrieve specific member information",
"type": "string"
},
"teamId": {
"description": "The ID of the team to which the project belongs",
"type": "string"
}
},
"required": [
"orgId",
"teamId",
"projectId",
"memberId"
],
"type": "object"
}
Implementation Reference
- src/tools/getProjectMember.ts:15-29 (handler)The async function that executes the 'get-project-member' tool logic: calls MiroClient API to fetch project member data and handles response or 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:9-14 (schema)Zod schema defining the input arguments for the 'get-project-member' tool.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)Registers the 'get-project-member' tool with the ToolBootstrapper instance..register(getProjectMemberTool)