AS AgentScopeAPI 手册 / API Reference

ConfigurableAgentCard

public class ConfigurableAgentCard
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:33–268

Configurable 智能体卡片,支持智能体之间的发现、委派与协作。位于 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.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:94–96

getDescription

public String getDescription()

获取 getDescription。

Returns the description.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:98–100

getUrl

public String getUrl()

获取URL。

Returns the url.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:102–104

getProvider

public AgentProvider getProvider()

获取提供者。

Returns the provider.

返回Returns AgentProvider
返回AgentProvider。Returns agent provider.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:106–108

getVersion

public String getVersion()

获取版本。

Returns the version.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:110–112

getDocumentationUrl

public String getDocumentationUrl()

获取 getDocumentationUrl。

Returns the documentation url.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:114–116

getDefaultInputModes

public List<String> getDefaultInputModes()

获取 getDefaultInputModes。

Returns the default input modes.

返回Returns List<String>
返回列出。Returns list.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:118–120

getDefaultOutputModes

public List<String> getDefaultOutputModes()

获取 getDefaultOutputModes。

Returns the default output modes.

返回Returns List<String>
返回列出。Returns list.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:122–124

getSkills

public List<AgentSkill> getSkills()

获取技能。

Returns the skills.

返回Returns List<AgentSkill>
返回列出。Returns list.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:126–128

getSecuritySchemes

public Map<String, SecurityScheme> getSecuritySchemes()

获取 getSecuritySchemes。

Returns the security schemes.

返回Returns Map<String, SecurityScheme>
返回映射。Returns map.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:130–132

getSecurity

public List<Map<String, List<String>>> getSecurity()

获取 getSecurity。

Returns the security.

返回Returns List<Map<String, List<String>>>
返回列出>>。Returns list.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:134–136

getIconUrl

public String getIconUrl()

获取 getIconUrl。

Returns the icon url.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:138–140

getAdditionalInterfaces

public List<AgentInterface> getAdditionalInterfaces()

获取 getAdditionalInterfaces。

Returns the additional interfaces.

返回Returns List<AgentInterface>
返回列出。Returns list.
源码Source io/agentscope/core/a2a/server/card/ConfigurableAgentCard.java:142–144

getPreferredTransport

public String getPreferredTransport()

获取 getPreferredTransport。

Returns the preferred transport.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/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.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.