Documentation
    Preparing search index...

    Interface LlmDelta

    Provisional streamed output for one generation. Never execute a tool from a delta; only an authoritative toolUse result carries executable calls.

    interface LlmDelta {
        block: LlmDeltaBlock;
        blockIndex: number;
        event: LlmDeltaEvent;
        name?: string;
        requestId: string;
        sequence: number;
        text?: string;
        toolCallId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Kind of content block.

    blockIndex: number

    Zero-based index of the block within the generation's content.

    Block lifecycle event.

    name?: string

    For a toolCall start only: tool name used by the terminal call.

    requestId: string

    The originating generation's request id.

    sequence: number

    Contiguous sequence starting at zero for this generation.

    text?: string

    For delta only: a text fragment, or a JSON argument fragment for toolCall.

    toolCallId?: string

    For a toolCall start only: id used by the terminal call.