Uses of Class
org.apache.juneau.rest.server.mcp.McpToolSpec
Packages that use McpToolSpec
Package
Description
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of McpToolSpec in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return McpToolSpecModifier and TypeMethodDescriptionMcpToolHandler.descriptor()Returns the static descriptor for this tool.McpTypedToolHandler.descriptor()Returns the base descriptor for this tool.McpToolSpec.setDescription(String value) Sets the tool description.McpToolSpec.setInputSchema(McpSchema value) Sets the tool's argument schema.Sets the tool name.McpToolSpec.setOutputSchema(McpSchema value) Sets the tool's structured result schema.Methods in org.apache.juneau.rest.server.mcp with parameters of type McpToolSpecModifier and TypeMethodDescriptionstatic McpToolHandlerMcpToolHandler.of(McpToolSpec descriptor, BiFunction<Map<String, Object>, BeanStore, McpToolOutcome> call) Builds a handler from a fixed descriptor and acalllambda.