toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-ai-anthropic
/
org.http4k.connect.anthropic.action
/
Tool
Tool
@
JsonSerializable
data
class
Tool
(
val
name
:
ToolName
,
val
description
:
String
,
val
input_schema
:
Map
<
String
,
Any
>
,
val
type
:
ToolType
?
=
null
,
val
cache_control
:
CacheControl
?
=
null
)
Members
Constructors
Tool
Link copied to clipboard
constructor
(
name
:
ToolName
,
description
:
String
,
input_schema
:
Map
<
String
,
Any
>
,
type
:
ToolType
?
=
null
,
cache_control
:
CacheControl
?
=
null
)
Properties
cache_
control
Link copied to clipboard
val
cache_control
:
CacheControl
?
=
null
description
Link copied to clipboard
val
description
:
String
input_
schema
Link copied to clipboard
val
input_schema
:
Map
<
String
,
Any
>
name
Link copied to clipboard
val
name
:
ToolName
type
Link copied to clipboard
val
type
:
ToolType
?
=
null