join_team
Join an Umami Analytics team by entering an access code to collaborate on website analytics and data tracking.
Instructions
Join a team using an access code
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accessCode | Yes | Team access/invite code |
Implementation Reference
- src/tools/teams.ts:75-85 (handler)The join_team tool implementation, which includes tool registration, input schema definition, and the handler function that calls the API to join a team.
server.tool( "join_team", "Join a team using an access code", { accessCode: z.string().describe("Team access/invite code"), }, async ({ accessCode }) => { const data = await client.call("POST", "/api/teams/join", { accessCode }); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );