@langwatch/scenario
    Preparing search index...

    Interface ConnectedAgentCall

    One turn as the connected agent contract sends it.

    interface ConnectedAgentCall {
        messages: ModelMessage[];
        newMessages: ModelMessage[];
        params: Record<string, ConnectedAgentParameterValue>;
        session: unknown;
        threadId: string;
        traceId: string;
    }
    Index
    messages: ModelMessage[]

    The full conversation.

    newMessages: ModelMessage[]

    The messages added since the last turn of this thread.

    params: Record<string, ConnectedAgentParameterValue>

    The run parameters the scenario sets. A parameter not set here takes the function default.

    session: unknown

    The session the function returned on the previous turn of this thread, null on the first.

    threadId: string

    The scenario thread id.

    traceId: string

    The trace id of the current turn, empty when no span is active.