langchain.js
    Preparing search index...

    Interface ServerToolCall<TName, TArgs>

    interface ServerToolCall<TName extends string = string, TArgs = unknown> {
        args: TArgs;
        id?: string;
        name: TName;
        type: "server_tool_call";
        [key: string]: unknown;
    }

    Type Parameters

    • TName extends string = string
    • TArgs = unknown

    Hierarchy

    • BaseContentBlock
      • ServerToolCall

    Indexable

    • [key: string]: unknown

      Arbitrary properties

    Index

    Properties

    Properties

    args: TArgs

    The arguments to the tool call

    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-')
    name: TName

    The name of the tool being called

    type: "server_tool_call"

    Type of the content block