Theia API Documentation v1.65.0
    Preparing search index...
    interface ToolCallChatResponseContent {
        arguments?: string;
        confirmed: Promise<boolean>;
        finished: boolean;
        id?: string;
        kind: "toolCall";
        name?: string;
        result?: ToolCallResult;
        asDisplayString(): undefined | string;
        asString(): undefined | string;
        cancelConfirmation(reason?: unknown): void;
        confirm(): void;
        deny(): void;
        merge(nextChatResponseContent: ChatResponseContent): boolean;
        toLanguageModelMessage(): LanguageModelMessage | LanguageModelMessage[];
    }

    Hierarchy

    Implemented by

    Index

    Properties

    arguments?: string
    confirmed: Promise<boolean>
    finished: boolean
    id?: string
    kind: "toolCall"
    name?: 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