langchain.js
    Preparing search index...

    Describes the agent-requested tool action (name and arguments). This is what the AI intends to execute, subject to human review.

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

    Properties

    Properties

    action: string

    The tool/action name requested by the agent (e.g., "send_email").

    args: Record<string, any>

    Arguments for the requested tool call (e.g., {"a": 1, "b": 2}).