Circle V2 API Docs
    Preparing search index...

    Type Alias WithStepTraceOptions<T>

    type WithStepTraceOptions<T = unknown> = {
        inputs?: Record<string, unknown>;
        metadata?: Record<string, unknown>;
        processOutputs?: (output: T) => Record<string, unknown>;
        runType?: "chain" | "tool" | "llm";
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    inputs?: Record<string, unknown>
    metadata?: Record<string, unknown>
    processOutputs?: (output: T) => Record<string, unknown>

    Projection of the return value to record instead of the value itself.

    runType?: "chain" | "tool" | "llm"