toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.chat
/
ChatTool
Chat
Tool
@
Serializable
(
with
=
ChatToolSerializer::class
)
sealed
interface
ChatTool
Tool accepted by Chat Completions, either a function or custom text tool.
Inheritors
Tool
CustomTool
ChatFunctionTool