Class ExceptionSuppressingToolCallback

  • All Implemented Interfaces:
    org.springframework.ai.tool.ToolCallback

    
    public final class ExceptionSuppressingToolCallback
     implements ToolCallback
                        

    Explain exception rather than propagate it

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ToolDefinition getToolDefinition()
      String call(String toolInput)
      • Methods inherited from class org.springframework.ai.tool.ToolCallback

        call, getToolMetadata
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionSuppressingToolCallback

        ExceptionSuppressingToolCallback(ToolCallback delegate)