@honua/sdk-js
    Preparing search index...

    Interface StudioAiChatMessageExperimental

    One turn of provider-neutral chat history sent to POST /v1/studio/ai/chat.

    interface StudioAiChatMessage {
        content: string;
        role: StudioAiRole;
        toolCallId?: string;
        toolCalls?: readonly StudioAiChatToolCall[];
        toolName?: string;
    }
    Index

    Properties

    content: string
    toolCallId?: string

    For role: "tool" messages: the id of the tool call this responds to.

    toolCalls?: readonly StudioAiChatToolCall[]

    For role: "assistant" messages: the tool calls the model made in that turn.

    toolName?: string

    For role: "tool" messages: the name of the tool that was called.