ART Framework API Docs
    Preparing search index...

    Interface HITLContext

    HITL-specific context passed to tools via ExecutionContext.

    This enables blocking tools to know if they're being called for initial suspension vs. post-approval execution.

    interface HITLContext {
        feedback?: HITLFeedback;
        isResuming: boolean;
        originalArgs?: Record<string, unknown>;
        suspensionId?: string;
        wasApproved?: boolean;
    }
    Index

    Properties

    feedback?: HITLFeedback

    The user's feedback if resuming from approval.

    isResuming: boolean

    True if this execution is resuming from a previous suspension.

    originalArgs?: Record<string, unknown>

    The original tool arguments that were suspended.

    suspensionId?: string

    The original suspension ID being resumed.

    wasApproved?: boolean

    True if the user approved the action. Only meaningful when isResuming is true.