langchain.js
    Preparing search index...

    Represents a request for human action within the graph execution. Contains the action type and any associated arguments needed for the action.

    Use ActionRequest has been moved to langchain package. Update your import to import { ActionRequest } from "langchain/prebuilt/interrupt";

    interface ActionRequest {
        action: string;
        args: Record<string, any>;
    }
    Index

    Properties

    Properties

    action: string

    The type or name of action being requested (e.g., "Approve XYZ action")

    args: Record<string, any>

    Key-value pairs of arguments needed for the action