Class ToolUtils

java.lang.Object
org.springframework.ai.tool.util.ToolUtils

public final class ToolUtils extends Object
Miscellaneous tool utility methods. Mainly for internal use within the framework.
Author:
Thomas Vitale
  • Method Details

    • getToolName

      public static String getToolName(Method method)
    • getToolDescription

      public static String getToolDescription(Method method)
    • getToolReturnDirect

      public static boolean getToolReturnDirect(Method method)
    • getToolCallResultConverter

      public static ToolCallResultConverter getToolCallResultConverter(Method method)
    • getDuplicateToolNames

      public static List<String> getDuplicateToolNames(FunctionCallback... functionCallbacks)