Class A2aV1AgentSkill
AgentSkill represents a unit of action/solution that the agent can perform. One can think of this as a type of highly reliable solution that an agent can be tasked to provide. Agents have the autonomy to choose how and when to use specific skills, but clients should have confidence that if the skill is defined that unit of action can be reliably performed.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class A2aV1AgentSkill : IDirectResponseSchema
Properties
Description
A human (or llm) readable description of the skill details and behaviors.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Examples
A set of example queries that this skill is designed to address. These examples should help the caller to understand how to craft requests to the agent to achieve specific goals. Example: ["I need a recipe for bread"]
Declaration
[JsonProperty("examples")]
public virtual IList<string> Examples { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Id
Unique identifier of the skill within this agent.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InputModes
Possible input modalities supported.
Declaration
[JsonProperty("inputModes")]
public virtual IList<string> InputModes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Name
A human readable name for the skill.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputModes
Possible output modalities produced
Declaration
[JsonProperty("outputModes")]
public virtual IList<string> OutputModes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Security
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes necessary for the agent to leverage this skill. As in the overall AgentCard.security, this list represents a logical OR of security requirement objects. Each object is a set of security schemes that must be used together (a logical AND). protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
Declaration
[JsonProperty("security")]
public virtual IList<A2aV1Security> Security { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<A2aV1Security> |
Tags
A set of tags for the skill to enhance categorization/utilization. Example: ["cooking", "customer support", "billing"]
Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |