LangGraph.js API Reference
    Preparing search index...

    Interface ActionRequest

    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

    Deprecated

    Deprecated

    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