Interface StudioAiChatMessageExperimental

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

interface StudioAiChatMessage {
    content: string;
    role: StudioAiRole;
    toolCallId?: string;
    toolName?: string;
}

Properties

content: string
toolCallId?: string

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

toolName?: string

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