@langwatch/scenario
    Preparing search index...

    Interface AgentInput

    Input provided to an agent's call method.

    interface AgentInput {
        judgmentRequest: boolean;
        messages: CoreMessage[];
        newMessages: CoreMessage[];
        requestedRole: AgentRole;
        scenarioConfig: ScenarioConfig;
        scenarioState: ScenarioExecutionStateLike;
        threadId: string;
    }
    Index

    Properties

    judgmentRequest: boolean

    Whether a judgment is being requested in this turn.

    messages: CoreMessage[]

    The full history of messages in the conversation.

    newMessages: CoreMessage[]

    New messages added since the last time this agent was called.

    requestedRole: AgentRole

    The role the agent is being asked to play in this turn.

    scenarioConfig: ScenarioConfig

    The configuration for the current scenario.

    The current state of the scenario execution.

    threadId: string

    A unique identifier for the conversation thread.