GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — handleFunctionCallsLive | ADK for TypeScript: API Reference - v2.5.0

  • handleFunctionCallsLive

Function handleFunctionCallsLive

  • handleFunctionCallsLive(
        __namedParameters: {
            afterToolCallbacks: SingleAfterToolCallback[];
            beforeToolCallbacks: SingleBeforeToolCallback[];
            filters?: Set<string>;
            functionCallEvent: Event;
            invocationContext: InvocationContext;
            resumeInputsDict?: Record<string, ResumeInputs>;
            toolConfirmationDict?: Record<string, ToolConfirmation>;
            toolsDict: Record<string, BaseTool>;
        },
    ): Promise<Event | null>

    Handles function calls in a live (bidirectional streaming) session.

    Supports regular sync/async tools, async-generator streaming tools that push incremental results onto invocationContext.liveRequestQueue, and the stop_streaming control call that cancels an active streaming tool task.

    Parameters

    • __namedParameters: {
          afterToolCallbacks: SingleAfterToolCallback[];
          beforeToolCallbacks: SingleBeforeToolCallback[];
          filters?: Set<string>;
          functionCallEvent: Event;
          invocationContext: InvocationContext;
          resumeInputsDict?: Record<string, ResumeInputs>;
          toolConfirmationDict?: Record<string, ToolConfirmation>;
          toolsDict: Record<string, BaseTool>;
      }

    Returns Promise<Event | null>

    • Defined in core/src/agents/functions.ts:366
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.