get-organization-member
Retrieve organization member details in Miro by providing organization and member IDs to access specific user information.
Instructions
Retrieves information about a specific organization member (Enterprise only)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orgId": "<orgId>",
"memberId": "<memberId>"
},
"name": "get-organization-member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | id of the organization | |
| memberId | Yes | id of the organization member |
Implementation Reference
- src/tools/getOrganizationMember.ts:13-22 (handler)The handler function that implements the core logic of the 'get-organization-member' tool. It fetches the organization member details using the MiroClient API.
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); } } - The ToolSchema definition including the tool name, description, and Zod input schema for orgId and memberId parameters.
const getOrganizationMemberTool: ToolSchema = { name: "get-organization-member", description: "Retrieves information about a specific organization member (Enterprise only)", args: { orgId: z.string().describe("id of the organization"), memberId: z.string().describe("id of the organization member") }, - src/index.ts:198-198 (registration)The registration of the get-organization-member tool in the ToolBootstrapper chain in the main index file.
.register(getOrganizationMemberTool)