Member Junction
    Preparing search index...

    Parameters for RemoteBrowserEngine.AchieveGoal — a high-level, goal-driven browser run.

    interface AchieveGoalParams {
        AgentRunID?: string;
        AgentRunStepID?: string;
        Context?: Record<string, unknown>;
        ContextUser?: UserInfo;
        ControllerModelId?: string;
        JudgeModelId?: string;
        MaxSteps?: number;
        OnProgress?: (progress: RemoteBrowserGoalProgress) => void;
        PreferredStrategy?: RemoteBrowserControlStrategy;
        ProviderName?: string;
        Signal?: AbortSignal;
        StartUrl?: string;
    }
    Index

    Properties

    AgentRunID?: string

    Optional parent MJ: AI Agent Runs id — links the goal's prompt runs to the realtime agent run.

    AgentRunStepID?: string

    Optional parent MJ: AI Agent Run Steps id — nests the goal's prompt runs under a single step.

    Context?: Record<string, unknown>

    Model-blind context object ({{path}} references injected at the action boundary; see the plan §4).

    ContextUser?: UserInfo

    The acting user (for lazy session start).

    ControllerModelId?: string

    Optional controller (vision/action) model id, overriding auto-selection.

    JudgeModelId?: string

    Optional judge model id, overriding auto-selection.

    MaxSteps?: number

    Maximum perceive-act steps before the loop gives up.

    OnProgress?: (progress: RemoteBrowserGoalProgress) => void

    Per-step progress callback (a realtime session narrates these).

    PreferredStrategy?: RemoteBrowserControlStrategy

    Force a control strategy; otherwise resolveControlStrategy picks (NativeAI if supported).

    ProviderName?: string

    Explicit backend provider name (when omitted, the single Active provider is used).

    Signal?: AbortSignal

    Abort signal — barge-in stops the goal loop cooperatively.

    StartUrl?: string

    Optional URL to navigate to before the goal loop begins.