FunctionTool

@Serializable
@SerialName(value = "function")
data class FunctionTool(val function: Function) : AssistantTool

The type of tool being defined: function

Constructors

Link copied to clipboard
constructor(function: Function)

Properties

Link copied to clipboard
@SerialName(value = "function")
val function: Function

The name of the function to be called.