Class ToolRecording

java.lang.Object
com.google.adk.plugins.recordings.ToolRecording

public abstract class ToolRecording extends Object
Paired tool call and response for replay.
  • Constructor Details

    • ToolRecording

      public ToolRecording()
  • Method Details

    • toolCall

      public abstract Optional<com.google.genai.types.FunctionCall> toolCall()
      The tool call.
    • toolResponse

      public abstract Optional<com.google.genai.types.FunctionResponse> toolResponse()
      The tool response.
    • builder

      public static ToolRecording.Builder builder()