toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.assistant
/
AssistantTool
/
FunctionTool
Function
Tool
@
Serializable
@
SerialName
(
value
=
"function"
)
data
class
FunctionTool
(
val
function
:
Function
)
:
AssistantTool
The type of tool being defined: function
Members
Constructors
Function
Tool
Link copied to clipboard
constructor
(
function
:
Function
)
Properties
function
Link copied to clipboard
@
SerialName
(
value
=
"function"
)
val
function
:
Function
The name of the function to be called.