ConfigurableAgentCard
public class ConfigurableAgentCard
io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:33–268Configurable 智能体卡片,支持智能体之间的发现、委派与协作。位于 io.agentscope.core.a2a.server.card 包。核心成员包括 getName、getDescription、getUrl、getProvider、getVersion、getDocumentationUrl。
Configurable attribute for export agent card of this agent.
These attributes are used to generate agent card which export by well-known URL and register to A2A Registries.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.core.a2a.server.card that supports discovery, delegation and collaboration between agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getName() | 获取名称。 Returns the name. |
public String getDescription() | 获取 `getDescription`。 Returns the description. |
public String getUrl() | 获取URL。 Returns the url. |
public AgentProvider getProvider() | 获取提供者。 Returns the provider. |
public String getVersion() | 获取版本。 Returns the version. |
public String getDocumentationUrl() | 获取 `getDocumentationUrl`。 Returns the documentation url. |
public List<String> getDefaultInputModes() | 获取 `getDefaultInputModes`。 Returns the default input modes. |
public List<String> getDefaultOutputModes() | 获取 `getDefaultOutputModes`。 Returns the default output modes. |
public List<AgentSkill> getSkills() | 获取技能。 Returns the skills. |
public Map<String, SecurityScheme> getSecuritySchemes() | 获取 `getSecuritySchemes`。 Returns the security schemes. |
public List<Map<String, List<String>>> getSecurity() | 获取 `getSecurity`。 Returns the security. |
public String getIconUrl() | 获取 `getIconUrl`。 Returns the icon url. |
public List<AgentInterface> getAdditionalInterfaces() | 获取 `getAdditionalInterfaces`。 Returns the additional interfaces. |
public String getPreferredTransport() | 获取 `getPreferredTransport`。 Returns the preferred transport. |
方法详情Method Detail
getName
public String getName()
获取名称。
Returns the name.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:94–96getDescription
public String getDescription()
获取 getDescription。
Returns the description.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:98–100getUrl
public String getUrl()
获取URL。
Returns the url.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:102–104getProvider
public AgentProvider getProvider()
获取提供者。
Returns the provider.
AgentProviderio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:106–108getVersion
public String getVersion()
获取版本。
Returns the version.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:110–112getDocumentationUrl
public String getDocumentationUrl()
获取 getDocumentationUrl。
Returns the documentation url.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:114–116getDefaultInputModes
public List<String> getDefaultInputModes()
获取 getDefaultInputModes。
Returns the default input modes.
List<String>io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:118–120getDefaultOutputModes
public List<String> getDefaultOutputModes()
获取 getDefaultOutputModes。
Returns the default output modes.
List<String>io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:122–124getSkills
public List<AgentSkill> getSkills()
获取技能。
Returns the skills.
List<AgentSkill>io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:126–128getSecuritySchemes
public Map<String, SecurityScheme> getSecuritySchemes()
获取 getSecuritySchemes。
Returns the security schemes.
Map<String, SecurityScheme>io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:130–132getSecurity
public List<Map<String, List<String>>> getSecurity()
获取 getSecurity。
Returns the security.
List<Map<String, List<String>>>io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:134–136getIconUrl
public String getIconUrl()
获取 getIconUrl。
Returns the icon url.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:138–140getAdditionalInterfaces
public List<AgentInterface> getAdditionalInterfaces()
获取 getAdditionalInterfaces。
Returns the additional interfaces.
List<AgentInterface>io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:142–144getPreferredTransport
public String getPreferredTransport()
获取 getPreferredTransport。
Returns the preferred transport.
Stringio/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:146–148嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.server.card 包。核心成员包括 name、description、url、provider、version、documentationUrl。
A class in io.agentscope.core.a2a.server.card that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.server.card.