Kory
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kory
openai
/
io.kory.openai.responses.io.tool
/
OpenAIResponsesToolDto
/
FunctionTool
Function
Tool
@
Serializable
@
SerialName
(
value
=
"function"
)
data
class
FunctionTool
(
val
name
:
String
,
val
parameters
:
JsonObject
,
val
strict
:
Boolean
?
=
null
,
val
allowedCallers
:
List
<
OpenAIAllowedCallers
?
>
=
emptyList()
,
val
async
:
Boolean
?
=
null
,
val
deferLoading
:
Boolean
?
=
null
,
val
description
:
String
?
=
null
,
val
outputSchema
:
JsonObject
?
=
null
)
:
OpenAIResponsesToolDto
Members
Constructors
Function
Tool
Link copied to clipboard
constructor
(
name
:
String
,
parameters
:
JsonObject
,
strict
:
Boolean
?
=
null
,
allowedCallers
:
List
<
OpenAIAllowedCallers
?
>
=
emptyList()
,
async
:
Boolean
?
=
null
,
deferLoading
:
Boolean
?
=
null
,
description
:
String
?
=
null
,
outputSchema
:
JsonObject
?
=
null
)
Properties
allowed
Callers
Link copied to clipboard
@
SerialName
(
value
=
"allowed_callers"
)
val
allowedCallers
:
List
<
OpenAIAllowedCallers
?
>
async
Link copied to clipboard
val
async
:
Boolean
?
defer
Loading
Link copied to clipboard
@
SerialName
(
value
=
"defer_loading"
)
val
deferLoading
:
Boolean
?
description
Link copied to clipboard
val
description
:
String
?
name
Link copied to clipboard
val
name
:
String
output
Schema
Link copied to clipboard
@
SerialName
(
value
=
"output_schema"
)
val
outputSchema
:
JsonObject
?
parameters
Link copied to clipboard
val
parameters
:
JsonObject
strict
Link copied to clipboard
val
strict
:
Boolean
?