Interface ToolCallChatResponseContent

interface ToolCallChatResponseContent {
    arguments?: string;
    finished: boolean;
    id?: string;
    kind: "toolCall";
    name?: string;
    result?: string;
    asString(): undefined | string;
    merge(nextChatResponseContent): boolean;
}

Hierarchy

Implemented by

Properties

arguments?: string
finished: boolean
id?: string
kind: "toolCall"
name?: string
result?: string

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