Class Frontmatter
java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.skills.Frontmatter
Frontmatter represents the YAML metadata at the top of a SKILL.md file. For more details, see
https://agentskills.io/specification#frontmatter.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA space-delimited list of tools that are pre-approved to run.static Frontmatter.Builderbuilder()Compatibility information for the skill.abstract StringWhat the skill does and when the model should use it.license()License for the skill.metadata()Key-value pairs for client-specific properties.abstract Stringname()Skill name in kebab-case.toXml()Methods inherited from class JsonBaseModel
fromJsonNode, fromJsonString, getMapper, toJson, toJsonNode, toJsonStringModifier and TypeMethodDescriptionstatic <T extends JsonBaseModel>
TfromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Class<T> clazz) Deserializes a JsonNode to an object of the given type.static <T extends JsonBaseModel>
TfromJsonString(String jsonString, Class<T> clazz) Deserializes a Json string to an object of the given type.static com.fasterxml.jackson.databind.ObjectMapperReturns the mutable ObjectMapper instance used by ADK.toJson()Serializes this object (i.e., the ObjectMappper instance used by ADK) to a Json string.protected static com.fasterxml.jackson.databind.JsonNodetoJsonNode(Object object) Serializes an object to a JsonNode.static StringtoJsonString(Object object) Serializes an object to a Json string.
-
Constructor Details
-
Frontmatter
public Frontmatter()
-
-
Method Details
-
name
Skill name in kebab-case. -
description
What the skill does and when the model should use it. -
license
-
compatibility
-
allowedTools
-
metadata
-
toXml
-
builder
-