Tool
@Serializable
Represents a tool that encapsulates function declarations, providing a structured way to access the functionalities declared.
Constructors
Link copied to clipboard
constructor(functionDeclarations: Array<FunctionDeclaration>? = null, googleSearch: GoogleSearch? = null, codeExecution: CodeExecution? = null, urlContext: UrlContext? = null, fileSearch: FileSearchTool? = null)
Properties
Link copied to clipboard
A CodeExecution object representing a code execution tool.
Link copied to clipboard
A FileSearchTool object representing a file search tool.
Link copied to clipboard
A FunctionDeclaration object containing the details of the functions declared by this tool.
Link copied to clipboard
A GoogleSearch object representing a google search tool.
Link copied to clipboard
A UrlContext object representing a url context tool.