toggle menu
http4k
6.15.0.1
jvm
switch theme
search in API
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
?
)
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
?
)
Types
Call
Link copied to clipboard
object
Call
:
McpRpc
List
Link copied to clipboard
object
List
:
McpRpc
Properties
annotations
Link copied to clipboard
val
annotations
:
ToolAnnotations
?
description
Link copied to clipboard
val
description
:
String
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
?