update_team
Modify a team's name in Umami Analytics by providing the team ID and new name.
Instructions
Update a team's name
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team UUID | |
| name | Yes | New team name |
Implementation Reference
- src/tools/teams.ts:50-61 (handler)The update_team tool handler implementation in src/tools/teams.ts.
server.tool( "update_team", "Update a team's name", { teamId: z.string().describe("Team UUID"), name: z.string().describe("New team name"), }, async ({ teamId, name }) => { const data = await client.call("POST", `/api/teams/${teamId}`, { name }); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );