Edgewise API
    Preparing search index...

    Interface Message

    interface Message {
        content: string | Part[];
        name?: string;
        role: "system" | "user" | "assistant" | "tool";
        toolCallId?: string;
        toolCalls?: { id: string; input: unknown; name: string }[];
    }

    Hierarchy (View Summary)

    Index
    content: string | Part[]
    name?: string
    role: "system" | "user" | "assistant" | "tool"
    toolCallId?: string

    For role 'tool': which call this result answers.

    toolCalls?: { id: string; input: unknown; name: string }[]

    Tool calls made by the assistant in this message.