langchain.js
    Preparing search index...

    Interface Action

    Represents an action with a name and arguments.

    interface Action {
        args: Record<string, any>;
        name: string;
    }
    Index

    Properties

    Properties

    args: Record<string, any>

    Key-value pairs of arguments needed for the action (e.g., {"a": 1, "b": 2}).

    name: string

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