Annotation Interface PromptArg


public @interface PromptArg
Declares one argument of a Prompt. Per the MCP specification, prompt arguments are always strings. Used inside Prompt.args().
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    boolean
     
  • Element Details

    • name

      String name
    • description

      String description
      Default:
      ""
    • required

      boolean required
      Default:
      false