langchain.js
    Preparing search index...

    Interface InvalidToolCall<TName>

    interface InvalidToolCall<TName extends string = string> {
        args?: string;
        error?: string;
        id?: string;
        index?: string | number;
        name?: TName;
        type?: "invalid_tool_call";
    }

    Type Parameters

    • TName extends string = string
    Index

    Properties

    args?: string

    The arguments to the tool call

    error?: string

    An error message associated with the tool call

    id?: string

    If provided, an identifier associated with the tool call

    index?: string | number

    Index of block in aggregate response

    name?: TName

    /**

    • The name of the tool being called
    type?: "invalid_tool_call"