Annotation Interface ToolBox


@Retention(RUNTIME) @Target(METHOD) public @interface ToolBox
When used on a method of an AiService annotated with RegisterAiService, the method will the tool classes provided by value instead of the ones configured for the entire AiService (via RegisterAiService.tools())
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Tool classes to use.
  • Element Details

    • value

      Class[] value
      Tool classes to use. All tools are expected to be CDI beans.
      Default:
      {}