Interface Tool
- All Known Implementing Classes:
Tool.CodeInterpreterTool
,Tool.FileSearchTool
,Tool.FunctionTool
public sealed interface Tool
permits Tool.CodeInterpreterTool, Tool.FileSearchTool, Tool.FunctionTool
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
static final record
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic Tool.CodeInterpreterTool
static Tool.FileSearchTool
static Tool.FileSearchTool
fileSearchTool
(int maxNumResults) static Tool.FunctionTool
functionTool
(Function function) type()
-
Method Details
-
type
String type() -
codeInterpreterTool
-
fileSearchTool
-
fileSearchTool
- Parameters:
maxNumResults
- The maximum number of results the file search tool should output.
-
functionTool
-