ADK for TypeScript: API Reference
    Preparing search index...

    Function findEventByFunctionCallId

    • Finds the most recent event before endIndex that contains a function call with the given ID.

      Parameters

      • events: Event[]
      • functionCallId: string
      • endIndex: number = events.length

      Returns Event | undefined