Interface ToolConsumer

  • All Implemented Interfaces:
    com.embabel.agent.core.ToolGroupConsumer , com.embabel.agent.core.ToolSpec , com.embabel.agent.core.ToolSpecConsumer

    
    public interface ToolConsumer
     implements ToolSpecConsumer, ToolGroupConsumer
                        

    Allows consuming tools and exposing them to LLMs. Interface allowing abstraction between tool concept and specific tools.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<Tool> resolveTools(ToolGroupResolver toolGroupResolver) Resolve all tools from this consumer and its tool groups.
      abstract String getName()
      List<Tool> getTools() Tools referenced or exposed.
      • Methods inherited from class com.embabel.agent.core.ToolGroupConsumer

        getToolGroups
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait