Class SpringToolCallbackWrapper

  • All Implemented Interfaces:
    com.embabel.agent.api.tool.Tool , com.embabel.agent.api.tool.ToolInfo

    
    public final class SpringToolCallbackWrapper
     implements Tool
                        

    Wraps a Spring AI ToolCallback as an Embabel Tool.

    This reverse adapter allows existing Spring AI tools to be used within the Embabel framework.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • SpringToolCallbackWrapper

        SpringToolCallbackWrapper(ToolCallback callback)