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

    Type Alias McpToolRuntimeOptions

    Optional runtime customization hooks.

    type McpToolRuntimeOptions = {
        configEntityHydrationStatus?: McpCatalogHydrationStatus;
        configEntityIds?: readonly string[];
        executeRecommendedByDefault?: boolean;
        frodoRoot?: Frodo;
        managedObjectHydrationStatus?: McpManagedObjectHydrationStatus;
        managedObjectTypes?: readonly string[];
        paginationWarningThreshold?: number;
        resolveFrodoForRequest?: (
            context: McpRuntimeRequestContext,
            frodoRoot: Frodo,
        ) => Frodo | Promise<Frodo>;
        resultWarningThresholdBytes?: number;
        trace?: McpToolRuntimeTraceHandler;
    }
    Index

    Properties

    configEntityHydrationStatus?: McpCatalogHydrationStatus

    Outcome of tenant config entity hydration.

    configEntityIds?: readonly string[]

    Tenant config entity IDs available to service-local semantic search.

    executeRecommendedByDefault?: boolean

    Execute unique deterministic read-only recommendations unless a request opts out.

    frodoRoot?: Frodo

    Optional root Frodo instance used by the default resolver. Defaults to the library singleton frodo.

    managedObjectHydrationStatus?: McpManagedObjectHydrationStatus

    Outcome of tenant managed-object type hydration.

    managedObjectTypes?: readonly string[]

    Tenant managed-object types available to service-local semantic search.

    paginationWarningThreshold?: number

    Optional heuristic threshold used to flag potentially paginated array responses when no explicit pagination controls were provided.

    Defaults to 1000.

    resolveFrodoForRequest?: (
        context: McpRuntimeRequestContext,
        frodoRoot: Frodo,
    ) => Frodo | Promise<Frodo>

    Optional custom resolver that returns a request-scoped Frodo instance. When omitted, resolveRequestScopedFrodo is used.

    resultWarningThresholdBytes?: number

    Optional payload size threshold used to flag large inline responses and produce actionable summary metadata for agents.

    Defaults to 65536 bytes.

    Optional service-wide sink for payload-free lifecycle traces.