Class DomainToolSource

  • All Implemented Interfaces:

    
    public final class DomainToolSource<T extends Object>
    
                        

    Configuration for a class that can contribute @LlmTool methods when a single instance is retrieved.

    When a single artifact of the specified type is retrieved during agentic tool execution, any @LlmTool annotated methods on that instance become available as tools.

    The optional predicate allows filtering which instances should contribute tools. By default, all instances are accepted.