langchain.js
    Preparing search index...

    Interface ToolResult

    Information about a tool result from a tool execution.

    interface ToolResult {
        error?: string;
        id: string;
        result: any;
    }
    Index

    Properties

    Properties

    error?: string

    An optional error message if the tool call failed.

    id: string

    The ID of the tool call.

    result: any

    The result of the tool call.