IFClite TypeScript API
    Preparing search index...

    Interface ToolTurnCall

    interface ToolTurnCall {
        context?: string;
        effort?: ToolTurnEffort;
        maxOutputTokens: number;
        messages: readonly ToolTurnMessage[];
        model: string;
        signal: AbortSignal;
        system: string;
        taskBudget?: number;
        tools: readonly ToolSpec[];
        onText(delta: string): void;
        onThinking(delta: string): void;
    }
    Index
    context?: string

    Volatile context (document snapshot, model stats), placed after the cache breakpoint.

    maxOutputTokens: number

    Already clamped to the route ceiling and the root budget's remainder.

    messages: readonly ToolTurnMessage[]
    model: string
    signal: AbortSignal
    system: string

    The stable, cacheable instructions.

    taskBudget?: number

    Advisory token budget for the whole agent task, where the provider supports one.

    tools: readonly ToolSpec[]
    • Parameters

      • delta: string

      Returns void

    • Parameters

      • delta: string

      Returns void