toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.run
/
ToolCallStep
/
FunctionTool
Function
Tool
@
Serializable
@
SerialName
(
value
=
"function"
)
data
class
FunctionTool
(
val
id
:
ToolCallStepId
,
val
function
:
FunctionToolCallStep
)
:
ToolCallStep
Members
Constructors
Function
Tool
Link copied to clipboard
constructor
(
id
:
ToolCallStepId
,
function
:
FunctionToolCallStep
)
Properties
function
Link copied to clipboard
@
SerialName
(
value
=
"function"
)
val
function
:
FunctionToolCallStep
The definition of the function that was called.
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
val
id
:
ToolCallStepId
The ID of the tool call object.