Interface ToolBundle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A group of
CallableTools contributed to an Agent as a unit. Composed into the
agent's full tool list by ComposedAgent in declaration order; bundles returning an empty
list are skipped. Typically backed by Tools.fromAnnotated(Object...) on a tool-owner
instance:
ToolBundle systemLibrary = () -> Tools.fromAnnotated(new SystemLibraryTools(context));
-
Method Summary
-
Method Details
-
tools
List<CallableTool> tools()- Returns:
- the tools contributed by this bundle; never null. May be empty.
-