Uses of Class
org.apache.juneau.rest.server.mcp.McpToolOutcome
Packages that use McpToolOutcome
Package
Description
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of McpToolOutcome in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return McpToolOutcomeModifier and TypeMethodDescriptionInvokes the tool.static McpToolOutcomeMcpToolOutcome.of(McpContentBlock... values) Creates an outcome carrying the supplied blocks.McpToolOutcome.setContent(List<McpContentBlock> value) Sets the content blocks.Sets the error flag.McpToolOutcome.setStructuredContent(Object value) Sets the structured JSON result.static McpToolOutcomeCreates an outcome carrying a single text block.Method parameters in org.apache.juneau.rest.server.mcp with type arguments of type McpToolOutcomeModifier and TypeMethodDescriptionstatic McpToolHandlerMcpToolHandler.of(McpToolSpec descriptor, BiFunction<Map<String, Object>, BeanStore, McpToolOutcome> call) Builds a handler from a fixed descriptor and acalllambda.