Member Junction
    Preparing search index...

    Inputs for initAgentRunStep — the "started" field set of an agent run step.

    interface InitAgentRunStepOptions {
        AgentRunID: string;
        InputData?: string;
        ParentID?: string;
        PayloadAtEnd?: string;
        PayloadAtStart?: string;
        StepName: string;
        StepNumber: number;
        StepType:
            | "Actions"
            | "Chat"
            | "Compaction"
            | "Decision"
            | "ForEach"
            | "Plan"
            | "Prompt"
            | "Skill"
            | "Sub-Agent"
            | "Tool"
            | "Validation"
            | "While";
        TargetID?: string;
        TargetLogID?: string;
    }
    Index

    Properties

    AgentRunID: string

    The owning MJ: AI Agent Runs id.

    InputData?: string

    Optional pre-serialized input payload JSON.

    ParentID?: string

    Optional parent step id — set for child/iteration steps (loop bodies, goal sub-steps).

    PayloadAtEnd?: string

    Optional pre-serialized end payload JSON.

    PayloadAtStart?: string

    Optional pre-serialized start payload JSON.

    StepName: string

    Human-readable name (caller applies any hierarchy breadcrumb before passing it in).

    StepNumber: number

    Sequential step number within the run (1-based).

    StepType:
        | "Actions"
        | "Chat"
        | "Compaction"
        | "Decision"
        | "ForEach"
        | "Plan"
        | "Prompt"
        | "Skill"
        | "Sub-Agent"
        | "Tool"
        | "Validation"
        | "While"

    The kind of step (Prompt, Tool, Sub-Agent, …).

    TargetID?: string

    Optional id of the targeted definition (AIPrompt.ID, AIAction.ID, AIAgent.ID, …). Stamped only when a valid UUID.

    TargetLogID?: string

    Optional id of the produced run-log (AIPromptRun.ID, ActionLog.ID, child AIAgentRun.ID, …).