Theia API Documentation v1.68.0
    Preparing search index...

    Represents a streaming delta update for tool call arguments. This content type is used during streaming to append argument fragments to an existing ToolCallChatResponseContent rather than replacing the full arguments.

    interface ToolCallArgumentsDeltaContent {
        delta: string;
        id: string;
        kind: "toolCallArgumentsDelta";
        asDisplayString?(): undefined | string;
        asString?(): undefined | string;
        merge?(nextChatResponseContent: ChatResponseContent): boolean;
        toLanguageModelMessage?(): LanguageModelMessage | LanguageModelMessage[];
        toSerializable?(): SerializableChatResponseContentData;
    }

    Hierarchy (View Summary)

    Index

    Properties

    delta: string

    The argument fragment to append

    id: string

    The tool call ID this delta belongs to

    kind: "toolCallArgumentsDelta"

    Methods

    • Represents the content as a string. Returns undefined if the content is purely informational and/or visual and should not be included in the overall representation of the response.

      Returns undefined | string