Class Function.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.Function.Builder
- Enclosing class:
- Function
-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) A description of the function.The name of the function.parameters(Object parameters) The JSON Schema for the function's parameters.
-
Method Details
-
description
A description of the function. -
name
The name of the function. -
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
-