Package io.openliberty.mcp.tools
Interface ToolManager.ToolInfo
- All Superinterfaces:
Comparable<FeatureManager.FeatureInfo>,FeatureManager.FeatureInfo,org.mcpjava.server.MetaCarrier
- Enclosing interface:
- ToolManager
Tool info.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mcpjava.server.MetaCarrier
org.mcpjava.server.MetaCarrier.Builder<THIS extends org.mcpjava.server.MetaCarrier.Builder<THIS>> -
Method Summary
Modifier and TypeMethodDescriptionThe MCP annotations of the toolInformation about the arguments that the tool expectstitle()The user-readable title for the toolMethods inherited from interface io.openliberty.mcp.features.FeatureManager.FeatureInfo
compareTo, createdAt, description, isMethod, nameMethods inherited from interface org.mcpjava.server.MetaCarrier
metadata
-
Method Details
-
title
String title()The user-readable title for the tool- Returns:
- the title
-
arguments
List<ToolManager.ToolArgument> arguments()Information about the arguments that the tool expects- Returns:
- the tool arguments
-
annotations
Optional<ToolManager.ToolAnnotations> annotations()The MCP annotations of the tool- Returns:
- the tool annotations
-