Class McpToolWrapper
java.lang.Object
io.jenkins.plugins.mcp.server.tool.McpToolWrapper
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMcpToolWrapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Object target, Method method) -
Method Summary
Modifier and TypeMethodDescriptionio.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecificationio.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecificationstatic StringResolves the tool name for aTool-annotated method without instantiating anMcpToolWrapper.
-
Field Details
-
DESCRIPTION
- See Also:
-
-
Constructor Details
-
McpToolWrapper
-
-
Method Details
-
toolName
Resolves the tool name for aTool-annotated method without instantiating anMcpToolWrapper. Used during tool-override resolution to compare names before deciding which candidate to keep. -
asSyncToolSpecification
public io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification asSyncToolSpecification() -
asStatelessSyncToolSpecification
public io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification asStatelessSyncToolSpecification()
-