AS AgentScopeAPI 手册 / API Reference

FixedAgentCardProducerBuilder

public static class FixedAgentCardProducerBuilder
源码Source io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:41–53

Fixed 智能体卡片生产者构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.agent.card 包。核心成员包括 agentCard、build。

A class in io.agentscope.core.a2a.agent.card that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.agent.card.

方法摘要Method Summary

方法Method说明Description
public FixedAgentCardProducerBuilder agentCard(AgentCard agentCard)
设置智能体卡片。
Performs the agent card operation.
public FixedAgentCardResolver build()
构建并返回最终实例。
Creates and returns an instance.

方法详情Method Detail

agentCard

public FixedAgentCardProducerBuilder agentCard(AgentCard agentCard)

设置智能体卡片。

Performs the agent card operation.

参数Parameters
名称Name类型Type说明Description
agentCardAgentCard智能体卡片(类型 `AgentCard`)。The agent card.
返回Returns FixedAgentCardProducerBuilder
返回FixedAgentCardProducerBuilder。Returns fixed agent card producer builder.
源码Source io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:45–48

build

public FixedAgentCardResolver build()

构建并返回最终实例。

Creates and returns an instance.

返回Returns FixedAgentCardResolver
返回FixedAgentCardResolver。Returns fixed agent card resolver.
源码Source io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:50–52
基于官方固定版本源码静态生成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.