Annotation Interface CopilotTool.MetadataValue

Enclosing class:
CopilotTool

@Documented @Retention(RUNTIME) @Target({}) public static @interface CopilotTool.MetadataValue
A metadata value. Exactly one representation is intended per value: a map of named boolean flags() (when non-empty), otherwise a str() (when non-empty), otherwise a bool().
Since:
1.0.2
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Scalar boolean value.
    Object-like value: a one-level map of named boolean flags.
    Scalar string value.
  • Element Details

    • bool

      boolean bool
      Scalar boolean value. Used when flags() and str() are unset.
      Default:
      false
    • str

      String str
      Scalar string value. Used when flags() is empty and this is non-empty.
      Default:
      ""
    • flags

      Object-like value: a one-level map of named boolean flags. Takes precedence when non-empty.
      Default:
      {}