Class PromptArgument

java.lang.Object
io.micronaut.mcp.primitives.prompts.PromptArgument

@Internal @Introspected public class PromptArgument extends Object
An MCP Prompt Argument.
  • Constructor Details

    • PromptArgument

      public PromptArgument()
  • Method Details

    • getName

      public String getName()
      Returns:
      Prompt argument Name
    • setName

      public void setName(String name)
      Parameters:
      name - Prompt Argument Name
    • isRequired

      public boolean isRequired()
      Returns:
      Whether the prompt argument is required
    • setRequired

      public void setRequired(boolean required)
      Parameters:
      required - Whether the prompt argument is required
    • getDescription

      public String getDescription()
      Returns:
      Prompt argument description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - Prompt argument description
    • getTitle

      public String getTitle()
      Returns:
      Prompt argument title
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - Prompt argument title