Annotation Interface AgiToolParam
Provides a description for a parameter of a method marked with
AgiTool.
This is essential for the model to understand how to use the tool correctly,
as it is used to generate the JSON schema for the tool's arguments.- Author:
- anahata-gemini-pro-2.5
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe ID of a specialized renderer that should be used to display the value of this parameter in the UI (e.g., 'java', 'path', 'markdown').booleanDetermines whether this parameter is mandatory for the tool call.
-
Element Details
-
value
String valueA clear and concise description of the parameter's purpose and expected format. This is injected into the tool's JSON schema as the property description.- Returns:
- The description of this parameter.
-
required
boolean requiredDetermines whether this parameter is mandatory for the tool call.- Returns:
trueif the parameter is required,falseotherwise.
- Default:
true
-
rendererId
String rendererIdThe ID of a specialized renderer that should be used to display the value of this parameter in the UI (e.g., 'java', 'path', 'markdown').- Returns:
- The renderer ID, or an empty string for default rendering.
- Default:
""
-

