Annotation Interface AgiToolkit
Marks a class as an AI-callable toolkit and provides essential metadata.
All public methods within a class annotated with
@AgiToolkit
are automatically registered as individual tools, provided they are also
annotated with AgiTool.- Author:
- anahata
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintThe default maximum depth policy for ALL of this toolkit's tools.
-
Element Details
-
value
String valueA detailed description of what the tools in this toolkit do, including its purpose, usage notes, and any general constraints. This is provided to the model to help it understand the toolkit's capabilities.- Returns:
- The toolkit description.
-
maxDepth
int maxDepthThe default maximum depth policy for ALL of this toolkit's tools. This serves as a fallback for any tools in this toolkit that do not specify an explicit max depth policy in their@AgiToolannotation.A value of -1 indicates that the value should be inherited from the system default defined in
AgiConfig.- Returns:
- The default maximum depth.
- Default:
-1
-

