langchain.js
    Preparing search index...

    Interface ToolCall

    Information about a tool call that has been executed.

    interface ToolCall {
        args: Record<string, any>;
        error?: string;
        id: string;
        name: string;
        result?: unknown;
    }
    Index

    Properties

    args: Record<string, any>

    The arguments that were passed to the tool.

    error?: string

    An optional error message if the tool call failed.

    id: string

    The ID of the tool call.

    name: string

    The name of the tool that was called.

    result?: unknown

    The result of the tool call.