Frodo Library - v4.8.5
    Preparing search index...

    Type Alias McpRuntimeRequestContext

    Execution-scoped context used to create an isolated Frodo instance.

    type McpRuntimeRequestContext = {
        auth: McpRuntimeAuth;
        callerTrustTier?: "full-trust" | "delegated";
        requestId?: string;
        trace?: McpToolRuntimeTraceHandler;
    }
    Index

    Properties

    Auth mode and credential payload for this request.

    callerTrustTier?: "full-trust" | "delegated"

    The resolved scoped instance's caller-privilege tier (see ops/CallerTrustTierOps.ts's determineCallerTrustTier()), attached once the instance is authenticated. Absent until then; assertTrustTierAllowed treats an absent value as 'full-trust' (see its own remarks for why that default is safe for every existing, non-browser auth mode).

    requestId?: string

    Optional caller-supplied correlation id for audit/log stitching.

    Optional request-scoped sink for bounded lifecycle and discovery traces.