AS AgentScopeAPI 手册 / API Reference

AgentCardResolver

public interface AgentCardResolver
源码Source io/agentscope/core/a2a/agent/card/AgentCardResolver.java:24–33

A2A的解析器用于 AgentCard。位于 io.agentscope.core.a2a.agent.card 包。核心成员包括 getAgentCard。

The Resolver for AgentCard of A2A.

方法摘要Method Summary

方法Method说明Description
public AgentCard getAgentCard(String agentName)
获取智能体卡片。
Produce AgentCard for target agent name.

方法详情Method Detail

getAgentCard

public AgentCard getAgentCard(String agentName)

获取智能体卡片。

Produce AgentCard for target agent name.

参数Parameters
名称Name类型Type说明Description
agentNameString智能体的名称。name of agent
返回Returns AgentCard
返回AgentCard。`AgentCard`
源码Source io/agentscope/core/a2a/agent/card/AgentCardResolver.java:32
基于官方固定版本源码静态生成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.