`Class Frontmatter`

java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.skills.Frontmatter

public abstract class Frontmatter extends JsonBaseModel
`Frontmatter` 是位于 `SKILL.md` 文件顶部的 YAML 元数据。有关更多详细信息,请参阅: https://agentskills.io/specification#frontmatter
  • 构造函数详细信息

    • Frontmatter

      public Frontmatter()
  • 方法详细信息(Method Details)

    • name

      public abstract String name()
      技能名称需使用“kebab-case”(即所有字母均大写)格式进行命名。
    • description

      public abstract String description()
      该技能的具体功能是什么?以及模型应该在什么情况下使用它?
    • license

      public abstract Optional<String> license()
      该技能的许可证。
    • compatibility

      public abstract Optional<String> compatibility()
      该技能的兼容性信息。
    • allowedTools

      public abstract Optional<String> allowedTools()
      这是一个由空格分隔的工具列表,这些工具已被预先批准可以运行。
    • metadata

      public abstract com.google.common.collect.ImmutableMap<String,Object> metadata()
      用于客户端特定属性的键值对。
    • toXml

      public String toXml()
    • builder

      public static Frontmatter.Builder builder()