Package org.mcpjava.server.prompts
package org.mcpjava.server.prompts
Define MCP prompts.
Prompts are reusable message templates that can be used by MCP clients.
Use @Prompt to mark methods as prompts
and @PromptArg to configure their arguments.
A PromptResponse can be returned from
@Prompt-annotated methods.
- See Also:
-
ClassDescriptionMarks a method as providing an MCP prompt template.Configures a parameter of a
Promptmethod.A single message within a prompt.Represents the result of aprompts/getcall.Builder for creating a prompt response