Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
AgentCardInfo class
The AgentCardInfo class of Novior.MentorAgent.Models: Optional override for the A2A Agent Card generated by MentorAgent when options.A2AServerEnabled = true…
On this page
Optional override for the A2A Agent Card generated by MentorAgent when options.A2AServerEnabled = true. If not set, the card is built automatically from AppName, AppDescription, and the discovered [MentorAction] methods. Usage:
options.AgentCard = new AgentCardInfo {
Version = "2.0.0",
IconUrl = "https://myapp.com/icon.png",
Provider = "Acme Corp",
DocumentationUrl = "https://docs.myapp.com/agent"
};Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Models. Package: Novior.MentorAgent.
public sealed class AgentCardInfo
dotnet add package Novior.MentorAgentConstructors
Section titled “Constructors”public AgentCardInfo()
Properties
Section titled “Properties”DocumentationUrl
Section titled “DocumentationUrl”public string? DocumentationUrl { get; set; }
URL to the agent's documentation.
IconUrl
Section titled “IconUrl”public string? IconUrl { get; set; }
URL to the agent's icon image.
Provider
Section titled “Provider”public string? Provider { get; set; }
Provider / organization name.
public string[]? Tags { get; set; }
Reserved — not published today.
The A2A card has no top-level tags field: the spec attaches tags to individual AgentSkill entries, and MentorAgent does not synthesise skills it cannot describe truthfully. Setting this has no effect on the served card. It is kept because the intent — capability hints for discovery — is right, and it will map once skills are published.
Version
Section titled “Version”public string Version { get; set; }
Agent version string. Default: "1.0.0"
