Annotation Interface PromptArg


@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface PromptArg
Annotates a parameter of a Prompt method. Forked from: https://raw.githubusercontent.com/quarkiverse/quarkus-mcp-server/refs/heads/main/core/runtime/src/main/java/io/quarkiverse/mcp/server/PromptArg.java
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant value for name() indicating that the annotated element's name should be used as-is.
  • Field Details

    • ELEMENT_NAME

      static final String ELEMENT_NAME
      Constant value for name() indicating that the annotated element's name should be used as-is.
      See Also:
  • Element Details

    • name

      String name
      Default:
      "<<element name>>"
    • description

      String description
      Default:
      ""