Member Junction
    Preparing search index...

    Interface CarryForwardToolStepOutput

    The cross-turn contract persisted in a tool step's OutputData by the conversation- and artifact-tool executors and read back by BaseAgent.BuildPriorTurnToolResultsMessage on the NEXT run. Write sites construct this type and the reader parses into a Partial of it, so the two sides cannot drift without a compile error.

    interface CarryForwardToolStepOutput {
        artifactId?: string;
        durationMs?: number;
        input: unknown;
        promptRunId?: string;
        result: { data?: unknown; errorMessage?: string; success: boolean };
        tool: string;
        toolFamily: CarryForwardToolFamilyValue;
    }
    Index

    Properties

    artifactId?: string

    Artifact-family only: the artifact the tool ran against

    durationMs?: number

    Invocation duration in milliseconds

    input: unknown

    The tool's input object

    promptRunId?: string

    summarizeRange only: the recursive sub-call's AIPromptRun ID

    result: { data?: unknown; errorMessage?: string; success: boolean }

    The tool outcome; only success === true results are carried forward

    tool: string

    The tool that produced this result

    Structured carry-forward discriminator — StepName is display-only