Package dev.langchain4j.mcp.client
Class McpPrompt
java.lang.Object
dev.langchain4j.mcp.client.McpPrompt
The 'Prompt' object from the MCP protocol schema.
It describes a declaration of a prompt, not its actual contents.
It contains a name, description and a list of arguments relevant for rendering an instance of the prompt.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPrompt
(String name, String description, List<McpPromptArgument> arguments) -
Method Summary