toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.chat
/
ToolCall
Tool
Call
@
Serializable
sealed
interface
ToolCall
Details of the tool call.
Inheritors
Function
Members
Types
Function
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"function"
)
data
class
Function
(
val
id
:
ToolId
,
val
function
:
FunctionCall
)
:
ToolCall
Tool call.