langchain.js
    Preparing search index...
    interface ServerToolCallResult<TOutput = Record<string, unknown>> {
        id?: string;
        output: TOutput;
        status: "success" | "error";
        toolCallId: string;
        type: "server_tool_call_result";
        [key: string]: unknown;
    }

    Type Parameters

    • TOutput = Record<string, unknown>

    Hierarchy

    • BaseContentBlock
      • ServerToolCallResult

    Indexable

    • [key: string]: unknown

      Arbitrary properties

    Index

    Properties

    id?: string

    Content block identifier, which can be either

    • generated by the provider (e.g., a provider-specific ID)
    • generated by LangChain upon creation (a uuid prefixed with 'lc-')
    output: TOutput

    The output of the server tool call

    status: "success" | "error"

    The status of the server tool call

    toolCallId: string

    The unique identifier of the tool call that this result corresponds to

    type: "server_tool_call_result"

    Type of the content block