Class Function.Builder

java.lang.Object
com.google.genai.gaos.models.interactions.Function.Builder
Enclosing class:
Function

public static final class Function.Builder extends Object
  • Method Details

    • description

      public Function.Builder description(@Nullable String description)
      A description of the function.
    • name

      public Function.Builder name(@Nullable String name)
      The name of the function.
    • parameters

      public Function.Builder parameters(@Nullable Object parameters)
      The JSON Schema for the function's parameters.

      Supports a subset of JSON Schema. `minLength`, `maxLength`, `minProperties`, `maxProperties`, `uniqueItems`, `contains`, `minContains`, and `maxContains` are ignored and not enforced.

    • build

      public Function build()