AS AgentScopeAPI 手册 / API Reference

AgentVersionSnapshot

@JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) public record AgentVersionSnapshot( String name, String description, String system, String model, Integer maxIters, List<AgentToolset> tools, List<McpServerSpec> mcpServers, List<SkillRef> skills, MultiagentSpec multiagent, String identityName, String identityEmoji, List<String> groupChatMentionPatterns, Boolean groupChatRequireMention, List<SkillRepositoryConfigEntry> skillRepositories, String sandboxMode, String sandboxScope)
源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

承载智能体版本快照数据的记录类型。位于 io.agentscope.builder.web.managed 包。核心成员包括 name、description、system、model、maxIters、tools。

Immutable snapshot of versioned agent configuration fields persisted in io.agentscope.builder.web.persistence.jpa.AgentVersionEntity.

Unknown properties are ignored: the control-plane (aistiod) snapshot payload is a superset carrying envelope fields such as id / ownerId / workspacePath / version that are resolved separately.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
nameString
执行名称相关操作。
Performs the name operation.
descriptionString
执行 `description` 方法。
Performs the description operation.
systemString
执行系统相关操作。
Performs the system operation.
modelString
执行模型相关操作。
Performs the model operation.
maxItersInteger
执行最大迭代次数相关操作。
Performs the max iters operation.
toolsList<AgentToolset>
执行工具相关操作。
Performs the tools operation.
mcpServersList<McpServerSpec>
执行 `mcpServers` 方法。
Performs the mcp servers operation.
skillsList<SkillRef>
执行技能相关操作。
Performs the skills operation.
multiagentMultiagentSpec
执行多智能体相关操作。
Performs the multiagent operation.
identityNameString
执行身份名称相关操作。
Performs the identity name operation.
identityEmojiString
执行 `identityEmoji` 方法。
Performs the identity emoji operation.
groupChatMentionPatternsList<String>
执行 `groupChatMentionPatterns` 方法。
Performs the group chat mention patterns operation.
groupChatRequireMentionBoolean
执行 `groupChatRequireMention` 方法。
Performs the group chat require mention operation.
skillRepositoriesList<SkillRepositoryConfigEntry>
执行 `skillRepositories` 方法。
Performs the skill repositories operation.
sandboxModeString
执行沙箱模式相关操作。
Performs the sandbox mode operation.
sandboxScopeString
执行沙箱范围相关操作。
Performs the sandbox scope operation.

记录组件详情Record Component Detail

name

String name

执行名称相关操作。

Performs the name operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

description

String description

执行 description 方法。

Performs the description operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

system

String system

执行系统相关操作。

Performs the system operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

model

String model

执行模型相关操作。

Performs the model operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

maxIters

Integer maxIters

执行最大迭代次数相关操作。

Performs the max iters operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

tools

List<AgentToolset> tools

执行工具相关操作。

Performs the tools operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

mcpServers

List<McpServerSpec> mcpServers

执行 mcpServers 方法。

Performs the mcp servers operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

skills

List<SkillRef> skills

执行技能相关操作。

Performs the skills operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

multiagent

MultiagentSpec multiagent

执行多智能体相关操作。

Performs the multiagent operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

identityName

String identityName

执行身份名称相关操作。

Performs the identity name operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

identityEmoji

String identityEmoji

执行 identityEmoji 方法。

Performs the identity emoji operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

groupChatMentionPatterns

List<String> groupChatMentionPatterns

执行 groupChatMentionPatterns 方法。

Performs the group chat mention patterns operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

groupChatRequireMention

Boolean groupChatRequireMention

执行 groupChatRequireMention 方法。

Performs the group chat require mention operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

skillRepositories

List<SkillRepositoryConfigEntry> skillRepositories

执行 skillRepositories 方法。

Performs the skill repositories operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

sandboxMode

String sandboxMode

执行沙箱模式相关操作。

Performs the sandbox mode operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53

sandboxScope

String sandboxScope

执行沙箱范围相关操作。

Performs the sandbox scope operation.

源码Source io/agentscope/builder/web/managed/AgentVersionSnapshot.java:35–53
基于官方固定版本源码静态生成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.