Annotation Type AIToolParam
Annotation used to provide metadata for a parameter of a method annotated
with
AIToolMethod.
This metadata is used to generate the JSON schema for the function declaration sent to the Gemini API.
- Author:
- Anahata
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIndicates whether this parameter is required for the tool to function.
-
Element Details
-
value
String valueA detailed description of what this parameter represents and any constraints on its value.- Returns:
- The parameter description.
-
required
boolean requiredIndicates whether this parameter is required for the tool to function.If
true, the model will be instructed that it must provide a value for this parameter.- Returns:
trueif required,falseotherwise.
- Default:
true
-
