Class A2aV1AgentCard
AgentCard conveys key information: - Overall details (version, name, description, uses) - Skills; a set of actions/solutions the agent can perform - Default modalities/content types supported by the agent. - Authentication requirements Next ID: 19
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class A2aV1AgentCard : IDirectResponseSchema
Properties
AdditionalInterfaces
Announcement of additional supported transports. Client can use any of the supported transports.
Declaration
[JsonProperty("additionalInterfaces")]
public virtual IList<A2aV1AgentInterface> AdditionalInterfaces { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<A2aV1AgentInterface> |
Capabilities
A2A Capability set supported by the agent.
Declaration
[JsonProperty("capabilities")]
public virtual A2aV1AgentCapabilities Capabilities { get; set; }
Property Value
| Type | Description |
|---|---|
| A2aV1AgentCapabilities |
DefaultInputModes
protolint:enable REPEATED_FIELD_NAMES_PLURALIZED The set of interaction modes that the agent supports across all skills. This can be overridden per skill. Defined as mime types.
Declaration
[JsonProperty("defaultInputModes")]
public virtual IList<string> DefaultInputModes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
DefaultOutputModes
The mime types supported as outputs from this agent.
Declaration
[JsonProperty("defaultOutputModes")]
public virtual IList<string> DefaultOutputModes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Description
A description of the agent's domain of action/solution space. Example: "Agent that helps users with recipes and cooking."
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DocumentationUrl
A url to provide additional documentation about the agent.
Declaration
[JsonProperty("documentationUrl")]
public virtual string DocumentationUrl { 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 |
IconUrl
An optional URL to an icon for the agent.
Declaration
[JsonProperty("iconUrl")]
public virtual string IconUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
A human readable name for the agent. Example: "Recipe Agent"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PreferredTransport
The transport of the preferred endpoint. If empty, defaults to JSONRPC.
Declaration
[JsonProperty("preferredTransport")]
public virtual string PreferredTransport { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProtocolVersion
The version of the A2A protocol this agent supports.
Declaration
[JsonProperty("protocolVersion")]
public virtual string ProtocolVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Provider
The service provider of the agent.
Declaration
[JsonProperty("provider")]
public virtual A2aV1AgentProvider Provider { get; set; }
Property Value
| Type | Description |
|---|---|
| A2aV1AgentProvider |
Security
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security requirements for contacting the agent. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." Example: security { schemes { key: "oauth" value { list: ["read"] } } } security { schemes { key: "api-key" } schemes { key: "mtls" } }
Declaration
[JsonProperty("security")]
public virtual IList<A2aV1Security> Security { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<A2aV1Security> |
SecuritySchemes
The security scheme details used for authenticating with this agent.
Declaration
[JsonProperty("securitySchemes")]
public virtual IDictionary<string, A2aV1SecurityScheme> SecuritySchemes { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, A2aV1SecurityScheme> |
Signatures
JSON Web Signatures computed for this AgentCard.
Declaration
[JsonProperty("signatures")]
public virtual IList<A2aV1AgentCardSignature> Signatures { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<A2aV1AgentCardSignature> |
Skills
Skills represent a unit of ability an agent can perform. This may somewhat abstract but represents a more focused set of actions that the agent is highly likely to succeed at.
Declaration
[JsonProperty("skills")]
public virtual IList<A2aV1AgentSkill> Skills { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<A2aV1AgentSkill> |
SupportsAuthenticatedExtendedCard
Whether the agent supports providing an extended agent card when the user is authenticated, i.e. is the card from .well-known different than the card from GetAgentCard.
Declaration
[JsonProperty("supportsAuthenticatedExtendedCard")]
public virtual bool? SupportsAuthenticatedExtendedCard { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Url
A URL to the address the agent is hosted at. This represents the preferred endpoint as declared by the agent.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Version
The version of the agent. Example: "1.0.0"
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
| Type | Description |
|---|---|
| string |