Annotation Interface ResourceCompletion


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface ResourceCompletion
Method annotation to define an MCP Resource Completion. Requesting Completions Micronaut registers Resource Completion singletons for beans with executable methods (e.g. methods in a class annotated with `@Singleton`) annotated with ResourceCompletion.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • uri

      String uri
      Returns:
      The resource's uri this completion refers to.