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
/
McpTool
Mcp
Tool
@
Serializable
@
SerialName
(
value
=
"mcp"
)
data
class
McpTool
(
val
serverLabel
:
String
,
val
serverUrl
:
String
,
val
serverDescription
:
String
?
=
null
,
val
headers
:
Map
<
String
,
String
>
?
=
null
,
val
allowedTools
:
List
<
String
>
?
=
null
,
val
requireApproval
:
JsonElement
?
=
null
,
val
authorization
:
String
?
=
null
)
:
OpenAIResponsesToolDto
Members
Constructors
Mcp
Tool
Link copied to clipboard
constructor
(
serverLabel
:
String
,
serverUrl
:
String
,
serverDescription
:
String
?
=
null
,
headers
:
Map
<
String
,
String
>
?
=
null
,
allowedTools
:
List
<
String
>
?
=
null
,
requireApproval
:
JsonElement
?
=
null
,
authorization
:
String
?
=
null
)
Properties
allowed
Tools
Link copied to clipboard
@
SerialName
(
value
=
"allowed_tools"
)
val
allowedTools
:
List
<
String
>
?
authorization
Link copied to clipboard
val
authorization
:
String
?
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
?
require
Approval
Link copied to clipboard
@
SerialName
(
value
=
"require_approval"
)
val
requireApproval
:
JsonElement
?
server
Description
Link copied to clipboard
@
SerialName
(
value
=
"server_description"
)
val
serverDescription
:
String
?
server
Label
Link copied to clipboard
@
SerialName
(
value
=
"server_label"
)
val
serverLabel
:
String
server
Url
Link copied to clipboard
@
SerialName
(
value
=
"server_url"
)
val
serverUrl
:
String