verify_auth
Check if your authentication token is valid to ensure secure access to Umami Analytics API v2 tools for website analytics and team management.
Instructions
Verify the current authentication token is valid
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/account.ts:68-76 (handler)Implementation of the verify_auth tool handler using the UmamiClient to call the /api/auth/verify endpoint.
server.tool( "verify_auth", "Verify the current authentication token is valid", {}, async () => { const data = await client.call("GET", "/api/auth/verify"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );