http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-ai-mcp-core
/
org.http4k.ai.mcp.model
/
Content
/
ToolUse
Tool
Use
@
JsonSerializable
@
PolymorphicLabel
(
value
=
"tool_use"
)
data
class
ToolUse
(
val
id
:
ToolUseId
,
val
name
:
ToolName
,
val
input
:
Map
<
String
,
Any
>
,
val
_meta
:
Content.Meta
?
=
null
)
:
Content
(
source
)
Members
Constructors
Tool
Use
Link copied to clipboard
constructor
(
id
:
ToolUseId
,
name
:
ToolName
,
input
:
Map
<
String
,
Any
>
,
_meta
:
Content.Meta
?
=
null
)
Properties
_
meta
Link copied to clipboard
val
_meta
:
Content.Meta
?
id
Link copied to clipboard
val
id
:
ToolUseId
input
Link copied to clipboard
val
input
:
Map
<
String
,
Any
>
name
Link copied to clipboard
val
name
:
ToolName