get_team_user
Retrieve detailed information about a specific team member in Umami Analytics by providing team and user identifiers.
Instructions
Get details of a specific team member
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team UUID | |
| userId | Yes | User UUID |
Implementation Reference
- src/tools/teams.ts:134-145 (handler)The "get_team_user" tool is defined and implemented as a server tool registration in `src/tools/teams.ts`. It takes `teamId` and `userId` as arguments and performs a GET request to `/api/teams/${teamId}/users/${userId}` via the `UmamiClient`.
server.tool( "get_team_user", "Get details of a specific team member", { teamId: z.string().describe("Team UUID"), userId: z.string().describe("User UUID"), }, async ({ teamId, userId }) => { const data = await client.call("GET", `/api/teams/${teamId}/users/${userId}`); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );