Uses of Class
org.apache.juneau.rest.server.mcp.McpPromptSpec
Packages that use McpPromptSpec
Package
Description
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of McpPromptSpec in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return McpPromptSpecModifier and TypeMethodDescriptionMcpPromptHandler.descriptor()Returns the static descriptor for this prompt.McpPromptSpec.setArguments(List<McpPromptArgument> value) Sets the prompt's declared arguments.McpPromptSpec.setDescription(String value) Sets the prompt description.Sets the prompt name.Methods in org.apache.juneau.rest.server.mcp with parameters of type McpPromptSpecModifier and TypeMethodDescriptionstatic McpPromptHandlerMcpPromptHandler.of(McpPromptSpec descriptor, BiFunction<Map<String, Object>, BeanStore, McpPromptOutcome> get) Builds a handler from a fixed descriptor and agetlambda.