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.protocol.messages
/
McpTool
Mcp
Tool
@
JsonSerializable
data
class
McpTool
(
val
name
:
ToolName
,
val
description
:
String
,
val
title
:
String
?
,
val
inputSchema
:
Map
<
String
,
Any
>
,
val
outputSchema
:
Map
<
String
,
Any
>
?
,
val
annotations
:
ToolAnnotations
?
,
val
icons
:
List
<
Icon
>
?
=
null
,
val
execution
:
ToolExecution
?
=
null
,
val
_meta
:
Meta
=
Meta.default
)
(
source
)
Members
Constructors
Mcp
Tool
Link copied to clipboard
constructor
(
name
:
ToolName
,
description
:
String
,
title
:
String
?
,
inputSchema
:
Map
<
String
,
Any
>
,
outputSchema
:
Map
<
String
,
Any
>
?
,
annotations
:
ToolAnnotations
?
,
icons
:
List
<
Icon
>
?
=
null
,
execution
:
ToolExecution
?
=
null
,
_meta
:
Meta
=
Meta.default
)
Types
Call
Link copied to clipboard
object
Call
List
Link copied to clipboard
object
List
Properties
_
meta
Link copied to clipboard
val
_meta
:
Meta
annotations
Link copied to clipboard
val
annotations
:
ToolAnnotations
?
description
Link copied to clipboard
val
description
:
String
execution
Link copied to clipboard
val
execution
:
ToolExecution
?
icons
Link copied to clipboard
val
icons
:
List
<
Icon
>
?
input
Schema
Link copied to clipboard
val
inputSchema
:
Map
<
String
,
Any
>
name
Link copied to clipboard
val
name
:
ToolName
output
Schema
Link copied to clipboard
val
outputSchema
:
Map
<
String
,
Any
>
?
title
Link copied to clipboard
val
title
:
String
?