Class ToolUtils
java.lang.Object
org.springframework.ai.tool.support.ToolUtils
Miscellaneous tool utility methods. Mainly for internal use within the framework.
- Author:
- Thomas Vitale
-
Method Summary
Modifier and TypeMethodDescriptiongetDuplicateToolNames(List<ToolCallback> toolCallbacks) getDuplicateToolNames(ToolCallback... toolCallbacks) static ToolCallResultConvertergetToolCallResultConverter(Method method) static StringgetToolDescription(Method method) static StringgetToolDescriptionFromName(String toolName) static StringgetToolName(Method method) static booleangetToolReturnDirect(Method method)
-
Method Details
-
getToolName
-
getToolDescriptionFromName
-
getToolDescription
-
getToolReturnDirect
-
getToolCallResultConverter
-
getDuplicateToolNames
-
getDuplicateToolNames
-