Annotation Interface Description


@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Documented public @interface Description
Used to define a human language description for fields and method parameters, such as MCP tool parameters or tool methods.

This annotation can be used to provide additional context. Fields and method parameters of type Optional are considered as non-required.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details