mcp-use TypeScript API
    Preparing search index...

    Function capturePostHog

    • Send a single event to PostHog's public capture endpoint using fetch only (no posthog-js / posthog-node SDK dependency). Errors are swallowed.

      Parameters

      • params: {
            apiKey?: string;
            distinctId: string;
            event: string;
            host?: string;
            properties: Record<string, unknown>;
        }

      Returns Promise<void>