get-organization-member
Retrieve details of a specific organization member in Miro Enterprise using orgId and memberId to manage user information effectively.
Instructions
Retrieves information about a specific organization member (Enterprise only)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memberId | Yes | id of the organization member | |
| orgId | Yes | id of the organization |
Implementation Reference
- src/tools/getOrganizationMember.ts:13-22 (handler)The handler function that executes the tool logic by calling the Miro API to retrieve information about a specific organization member.fn: async ({ orgId, memberId }) => { try { const response = await MiroClient.getApi().enterpriseGetOrganizationMember(orgId, memberId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving organization member: ${error}\n`); return ServerResponse.error(error); } }
- Zod schemas defining the input parameters for the tool: orgId and memberId.args: { orgId: z.string().describe("id of the organization"), memberId: z.string().describe("id of the organization member") },
- src/index.ts:198-198 (registration)Registers the get-organization-member tool in the ToolBootstrapper instance..register(getOrganizationMemberTool)
- src/index.ts:97-97 (registration)Imports the tool definition for registration.import getOrganizationMemberTool from './tools/getOrganizationMember.js';