AS AgentScopeAPI 手册 / API Reference

GeneratedSpec

public record GeneratedSpec(String markdown, SubagentDeclaration declaration)
源码Source io/agentscope/harness/agent/subagent/SubagentSpecGenerator.java:158

承载 Generated 规格数据的记录类型。位于 io.agentscope.harness.agent.subagent 包。核心成员包括 markdown、declaration。

Pair of the raw markdown and the parsed SubagentDeclaration.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
markdownString
执行 `markdown` 方法。
Performs the markdown operation.
declarationSubagentDeclaration
执行 `declaration` 方法。
Performs the declaration operation.

记录组件详情Record Component Detail

markdown

String markdown

执行 markdown 方法。

Performs the markdown operation.

源码Source io/agentscope/harness/agent/subagent/SubagentSpecGenerator.java:158

declaration

SubagentDeclaration declaration

执行 declaration 方法。

Performs the declaration operation.

源码Source io/agentscope/harness/agent/subagent/SubagentSpecGenerator.java:158
基于官方固定版本源码静态生成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.